aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-12-20 14:22:52 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-12-20 14:22:52 +0000
commit8229ce2526f34047b055e6df6e950871907c47a6 (patch)
tree62cbdc095ca06af8787e8a88668c05d55cabb66c /bootstrap
parent1fd945a96bff9218dec5575d59d25faa152e9b55 (diff)
downloadcpio-8229ce2526f34047b055e6df6e950871907c47a6.tar.gz
cpio-8229ce2526f34047b055e6df6e950871907c47a6.tar.bz2
(update_po): Give -r to wget. Always remove index.html
Ignore alloca-opt module (it duplicates alloca)
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 2810111..ffe8ffd 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
@@ -191,11 +192,13 @@ xalloc-die
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

Return to:

Send suggestions and report system problems to the System administrator.