From: Martin Mares Date: Tue, 26 Aug 2008 15:06:23 +0000 (+0200) Subject: Call wget with --no-timestamping. X-Git-Tag: v3.0.1~3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c7045bf26e2e6135f207630e10cac744fd806de3;p=pciutils.git Call wget with --no-timestamping. If --timestamping was set in .wgetrc, wget fails, because it is unable to handle --timestamping and -O simultaneously (for no apparent reason, but the maintainers have decided that this bug has graduated to a feature, see https://savannah.gnu.org/bugs/?22896). Thanks to Ville Skytta for pointing that out. --- diff --git a/update-pciids.sh b/update-pciids.sh index 52a3d7e..feef749 100755 --- a/update-pciids.sh +++ b/update-pciids.sh @@ -33,7 +33,7 @@ if which curl >/dev/null 2>&1 ; then DL="curl -o $DEST.new $SRC" ${quiet} && DL="$DL -s -S" elif which wget >/dev/null 2>&1 ; then - DL="wget -O $DEST.new $SRC" + DL="wget --no-timestamping -O $DEST.new $SRC" ${quiet} && DL="$DL -q" elif which lynx >/dev/null 2>&1 ; then DL="eval lynx -source $SRC >$DEST.new"