aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/getver.sh
diff options
context:
space:
mode:
authorBrian J. Murrell <brian@interlinx.bc.ca>2016-11-20 16:01:33 -0500
committerJo-Philipp Wich <jo@mein.io>2017-01-03 14:26:41 +0100
commitfc6b6f45831e1a2afc95ac241416acbd103fd442 (patch)
treed8d9a187a96adc5326701e7e25011112f8363266 /scripts/getver.sh
parent558680012dd79de0289aeeb74a72163916cd9f33 (diff)
downloadupstream-fc6b6f45831e1a2afc95ac241416acbd103fd442.tar.gz
upstream-fc6b6f45831e1a2afc95ac241416acbd103fd442.tar.bz2
upstream-fc6b6f45831e1a2afc95ac241416acbd103fd442.zip
download.pl: use curl in preference to wget
Because wget doesn't know how to do Negotiate authentication with a proxy and curl does, use curl if it's present. The user is expected to have a ~/.curlrc that sets the options necessary for any proxy authentication. A ~/.curlrc is completely optional however and curl will work in exactly the same manner as wget without one. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca> [Jo-Philipp Wich: Rework code to detect curl usability by checking --version, Use vararg style open() to bypass the shell when downloading, Use Text::ParseWords to decompose env vars into arguments] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'scripts/getver.sh')
0 files changed, 0 insertions, 0 deletions