Kaydet (Commit) c1c4555a authored tarafından gerhard oettl's avatar gerhard oettl Kaydeden (comit) Tor Lillqvist

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/1046Reviewed-by: 's avatarTor Lillqvist <tml@iki.fi>
Tested-by: 's avatarTor Lillqvist <tml@iki.fi>
üst 9723d0c1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment