summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorgerhard oettl <lodev@ogersoft.at>2012-11-13 16:26:29 +0100
committerTor Lillqvist <tml@iki.fi>2012-11-13 15:43:02 +0000
commitc1c4555ae73697fbe4c689fa1727b3281d83ad01 (patch)
treec4b180706aed4ea0b159fa2a3edefc5e31ad13ec /download
parent9723d0c14c90454496b7a05289bd6994e28c0aa5 (diff)
Make wget a little more independend from the local .wgetrc config.
wget --config=/dev/null would ignore ALL local settings, but interfers maybe too much - proxy auth for example. So adjust only some settings. -- M download Change-Id: I3dad22c4a4e18a480a7157ad3cc903c6a0725a4e Reviewed-on: https://gerrit.libreoffice.org/1046 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'download')
-rwxr-xr-xdownload2
1 files changed, 1 insertions, 1 deletions
diff --git a/download b/download
index 9a54e7c009cf..6e8762a00ee4 100755
--- a/download
+++ b/download
@@ -131,7 +131,7 @@ downloaditem()
if [ ! -f "../$2" ]; then
echo $2
if [ ! -z "$wget" ]; then
- $wget --progress=dot:mega -N $1/$2 2>&1 | tee -a $logfile
+ $wget --progress=dot:mega -Q 0 -P "." -l 0 -nd -nH -N $1/$2 2>&1 | tee -a $logfile
else
echo fetching $2
$curl $file_date_check -O $1/$2 2>&1 | tee -a $logfile