[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: support wget 1.10.x from bootstrap [m4--devo--1.0--patch-24]
From: |
Gary V. Vaughan |
Subject: |
FYI: support wget 1.10.x from bootstrap [m4--devo--1.0--patch-24] |
Date: |
Sun, 4 Dec 2005 19:54:08 +0000 (GMT) |
User-agent: |
mailnotify/0.7 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applied to HEAD.
* looking for address@hidden/m4--devo--1.0--patch-23 to compare with
* comparing to address@hidden/m4--devo--1.0--patch-23
M bootstrap
M ChangeLog
* modified files
Index: Changelog
from Gary V. Vaughan <address@hidden>
* bootstrap (func_update_po): Test and set $WGETFLAGS to disable
http caching as -C is no longer supported by wget 1.10.x.
Reported by Eric Blake <address@hidden>
--- orig/bootstrap
+++ mod/bootstrap
@@ -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
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 1.0
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFDk0leFRMICSmD1gYRAvrRAKDLrtWufHvAtXmHDR9B5cXBQ9oPiwCeObkE
ww8wfy3+NtudkmbK55b5aeQ=
=Z+E8
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: support wget 1.10.x from bootstrap [m4--devo--1.0--patch-24],
Gary V. Vaughan <=