X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=bootstrap;h=dac36e7d079cb160f98d8281baf3c316bdf2128a;hb=ab3b31cfef3e33696596f459da5130256b5ec60f;hp=c767442c0ccd58eae83851991608f925cec135cf;hpb=7347b4f5d51c15bb19637ea52e9bf7dff832cc52;p=chaz%2Ftar diff --git a/bootstrap b/bootstrap index c767442..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 @@ -191,6 +192,7 @@ gettime hash human lchown +localcharset memset modechange obstack @@ -216,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 @@ -304,6 +308,8 @@ copy_files ${PAXUTILS_SRCDIR}/rmt rmt copy_files ${PAXUTILS_SRCDIR}/lib lib +copy_files ${PAXUTILS_SRCDIR}/tests tests + # Get translations. if test "$DOWNLOAD_PO" = "yes"; then update_po