From c7045bf26e2e6135f207630e10cac744fd806de3 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 26 Aug 2008 17:06:23 +0200 Subject: [PATCH] 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. --- update-pciids.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2