aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Lundgaard <[email protected]>2016-05-23 12:58:44 -0500
committerNicholas Lundgaard <[email protected]>2016-05-23 12:58:44 -0500
commit4e695ae78db8dc8c2a70f15966c2bb40d7504ff6 (patch)
tree3c924650a20bb147ef0af97c1feaf2171109522f
parent193f2abc57d4e625bc9a22ff2d9a78838b476c84 (diff)
downloadkerl-4e695ae78db8dc8c2a70f15966c2bb40d7504ff6.tar.gz
kerl-4e695ae78db8dc8c2a70f15966c2bb40d7504ff6.tar.bz2
kerl-4e695ae78db8dc8c2a70f15966c2bb40d7504ff6.zip
use 'curl -q' in 'get_tarball_releases()'
This bypasses processing `~/.curlrc`, eliminating the chance that options set in that file may result in errant, unexpected behavior from this curl call.
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 37e54dc..5dc0f95 100755
--- a/kerl
+++ b/kerl
@@ -193,7 +193,7 @@ get_git_releases()
get_tarball_releases()
{
- curl -L -s $ERLANG_DOWNLOAD_URL/ | \
+ curl -q -L -s $ERLANG_DOWNLOAD_URL/ | \
sed $SED_OPT -e 's/^.*<[aA] [hH][rR][eE][fF]=\"\otp_src_([-0-9A-Za-z_.]+)\.tar\.gz\">.*$/\1/' \
-e '/^R1|^[0-9]/!d' | \
sed -e "s/^R\(.*\)/\1:R\1/" | sed -e "s/^\([^\:]*\)$/\1-z:\1/" | sort | cut -d':' -f2