]> khamidou — GitHub mirrors - electron.git/commitdiff
Clean unused bash script.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 25 Jun 2013 01:20:55 +0000 (09:20 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 25 Jun 2013 01:20:55 +0000 (09:20 +0800)
script/lib/polite-curl [deleted file]

diff --git a/script/lib/polite-curl b/script/lib/polite-curl
deleted file mode 100755 (executable)
index dbf5ce4..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-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 $*
-}