m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/bootstrap


From: Gary V . Vaughan
Subject: Changes to m4/bootstrap
Date: Mon, 05 Dec 2005 10:08:39 -0500

Index: m4/bootstrap
diff -u m4/bootstrap:1.29 m4/bootstrap:1.30
--- m4/bootstrap:1.29   Sun Dec  4 19:53:15 2005
+++ m4/bootstrap        Mon Dec  5 15:08:39 2005
@@ -57,11 +57,6 @@
 
 TP_URL="http://www.iro.umontreal.ca/translation/maint/m4/";
 
-WGETFLAGS="--no-cache"
-case `wget $WGETFLAGS 2>&1` in
-  *"unrecognized option \`--no-cache'"*) WGETFLAGS="--cache=off" ;;
-esac
-
 func_update_po ()
 {
     if test $# = 1; then
@@ -70,12 +65,12 @@
        *)     POFILE=$1.po ;;
       esac
       func_echo "getting translation for $1..."
-      $WGET -r $WGETFLAGS $TP_URL/$POFILE
+      $WGET -r --cache=off $TP_URL/$POFILE
     else
       func_echo "getting translations into po..."
       (cd po &&
        rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&
-         $WGET -nv -nd -r -l 1 -A .po $WGETFLAGS $TP_URL &&
+         $WGET -nv -nd -r -l 1 -A .po --cache=off $TP_URL &&
         rm -f index.html index.html.[0-9]*
        ls *.po | sed 's/\.po$//' > LINGUAS
       ) || exit




reply via email to

[Prev in Thread] Current Thread [Next in Thread]