]> mj.ucw.cz Git - pciutils.git/commitdiff
Call wget with --no-timestamping.
authorMartin Mares <mj@ucw.cz>
Tue, 26 Aug 2008 15:06:23 +0000 (17:06 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 26 Aug 2008 15:06:23 +0000 (17:06 +0200)
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

index 52a3d7e1099850f332f518f8104d8847faa96133..feef7498148209f2e6d01948cd9ddaf54ac2de05 100755 (executable)
@@ -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"