X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=bootstrap;h=5aa460ab926955d53117a13b8c656fff976b1c75;hb=5addfdcb03a710d220d0d38262b106b99268b2ec;hp=ccad55ce9dcb3ed08fdd3bf0f58c3d937e2220d6;hpb=c17a9f91d0524272c5e55096147bb9a4d8195e29;p=chaz%2Ftar diff --git a/bootstrap b/bootstrap index ccad55c..5aa460a 100755 --- a/bootstrap +++ b/bootstrap @@ -71,7 +71,13 @@ update_po() { *) POFILE=${1}.po;; esac echo "$0: getting translation for $1..." - wget -r --cache=off $TP_URL/$POFILE + (cd po; + wget -r --cache=off -O $POFILE $TP_URL/$POFILE || exit + LANG=`expr $POFILE : '\(.*\)\.po'` + if ! grep -q $LANG LINGUAS; then + mv LINGUAS LINGUAS.$$ + (echo $LANG; cat LINGUAS.$$) | sort > LINGUAS + fi) else echo "$0: getting translations into po..." (cd po && @@ -295,7 +301,7 @@ echo "$0: Creating m4/gnulib.m4" echo "])") > ./m4/gnulib.m4 echo "$0: Creating lib/Makefile.am" -(echo "# This file is generated automatically from lib/Makefile.am. Do not edit!" +(echo "# This file is generated automatically. Do not edit!" cat lib/Makefile.tmpl for gnulib_module in $gnulib_modules; do