Added compatibility with wget 1.11
authorJesus Climent <mooch@debian.org>
Tue, 10 Jun 2008 10:39:05 +0000 (10:39 +0000)
committerJesus Climent <mooch@debian.org>
Tue, 10 Jun 2008 10:39:05 +0000 (10:39 +0000)
abcde
cddb-tool

diff --git a/abcde b/abcde
index 2358c1f..cf49057 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -3131,7 +3131,7 @@ fi
 
 if [ "$HTTPGETOPTS" = "" ] ; then
        case $HTTPGET in
 
 if [ "$HTTPGETOPTS" = "" ] ; then
        case $HTTPGET in
-               wget) HTTPGETOPTS="-q -nv -O -";;
+               wget) HTTPGETOPTS="-q -nv -e timestamping=off -O -";;
                curl) HTTPGETOPTS="-f -s";;
                fetch)HTTPGETOPTS="-q -o -";;
                ftp)  HTTPGETOPTS="-a -V -o - ";;
                curl) HTTPGETOPTS="-f -s";;
                fetch)HTTPGETOPTS="-q -o -";;
                ftp)  HTTPGETOPTS="-a -V -o - ";;
index 5e365b5..bdd9613 100755 (executable)
--- a/cddb-tool
+++ b/cddb-tool
@@ -44,7 +44,7 @@ if [ "$HTTPGET" = "" ]; then
                HTTPGETOPTS=${HTTPGETOPTS:="-f -s"}
        else
                HTTPGET=wget
                HTTPGETOPTS=${HTTPGETOPTS:="-f -s"}
        else
                HTTPGET=wget
-               HTTPGETOPTS=${HTTPGETOPTS:="-q -nv -O -"}
+               HTTPGETOPTS=${HTTPGETOPTS:="-q -nv -e timestamping=off -O -"}
        fi
 fi
 
        fi
 fi