From: Sergey Poznyakoff Date: Mon, 20 Dec 2004 13:55:06 +0000 (+0000) Subject: (update_po): Give -r to wget. Always remove index.html X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=7c3510b40d70c30316cae119f59069d74d407a3e;p=chaz%2Ftar (update_po): Give -r to wget. Always remove index.html Ignore alloca-opt module (it duplicates alloca) --- diff --git a/bootstrap b/bootstrap index e450075..dac36e7 100755 --- a/bootstrap +++ b/bootstrap @@ -67,12 +67,13 @@ update_po() { *) POFILE=${1}.po;; esac echo "$0: getting translation for $1..." - wget -C off $TP_URL/$POFILE + wget -r -C off $TP_URL/$POFILE else echo "$0: 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 && + rm -f index.html index.html.[0-9]* ls *.po | sed 's/\.po$//' >LINGUAS ) || exit fi @@ -217,11 +218,13 @@ xstrtoumax previous_gnulib_modules= while [ "$gnulib_modules" != "$previous_gnulib_modules" ]; do previous_gnulib_modules=$gnulib_modules + # In gnulib `alloca-opt' duplicates `alloca', so make sure not + # to use it. gnulib_modules=` (echo "$gnulib_modules" for gnulib_module in $gnulib_modules; do $GNULIB_SRCDIR/gnulib-tool --extract-dependencies $gnulib_module - done) | sort -u + done) | sed 's/alloca-opt/alloca/' | sort -u ` done