[Top][All Lists]
[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: |
Sun, 04 Dec 2005 14:53:16 -0500 |
Index: m4/bootstrap
diff -u m4/bootstrap:1.28 m4/bootstrap:1.29
--- m4/bootstrap:1.28 Thu Oct 20 13:45:21 2005
+++ m4/bootstrap Sun Dec 4 19:53:15 2005
@@ -9,6 +9,8 @@
: ${LIBTOOLIZE=libtoolize}
: ${RM=rm -f}
: ${SED=sed}
+: ${WGET=wget}
+
: ${DOWNLOAD_PO=yes}
ltdldir=ltdl
@@ -55,6 +57,11 @@
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
@@ -63,12 +70,12 @@
*) POFILE=$1.po ;;
esac
func_echo "getting translation for $1..."
- wget -r -C off $TP_URL/$POFILE
+ $WGET -r $WGETFLAGS $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 -C off $TP_URL &&
+ $WGET -nv -nd -r -l 1 -A .po $WGETFLAGS $TP_URL &&
rm -f index.html index.html.[0-9]*
ls *.po | sed 's/\.po$//' > LINGUAS
) || exit
- Changes to m4/bootstrap,
Gary V . Vaughan <=