Don't ship frameworks in repository, instead we download them.
This commit is contained in:
parent
bf409efc46
commit
600f38c94d
6 changed files with 101 additions and 0 deletions
14
script/lib/polite-curl
Executable file
14
script/lib/polite-curl
Executable file
|
@ -0,0 +1,14 @@
|
|||
if [ -t 0 ] ; then # If stdout is a terminal
|
||||
INTERACTIVE=1
|
||||
fi
|
||||
|
||||
polite_curl()
|
||||
{
|
||||
if [ $INTERACTIVE ] ; then
|
||||
CURL_ARGS="--progress-bar"
|
||||
else
|
||||
CURL_ARGS="-fsS"
|
||||
fi
|
||||
|
||||
curl $CURL_ARGS $*
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue