X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=bootstrap;h=2afc661991aae58d9921a9f14c5810db73cf4716;hb=dacac1b6be37bb355ccd76434f8338bd2436fb69;hp=d113f5a0ff19aa064c2c44f84ebe1a1f99fd5abf;hpb=64aea5de535c1e9d66d993a6648d86e18e259443;p=chaz%2Ftar diff --git a/bootstrap b/bootstrap index d113f5a..2afc661 100755 --- a/bootstrap +++ b/bootstrap @@ -52,7 +52,7 @@ usage() { --no-po Do not download po files. --update-po[=LANG] Update po file(s) and exit. -If the file `.bootstrap' exists in the current working directory, its +If the file \`.bootstrap' exists in the current working directory, its contents is read, comments and empty lines removed, shell variables expanded and the result is prepended to the command line options. @@ -71,12 +71,12 @@ update_po() { *) POFILE=${1}.po;; esac echo "$0: getting translation for $1..." - wget -r -C off $TP_URL/$POFILE + wget -r --cache=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 && + wget -nv -nd -r -l 1 -A .po --cache off $TP_URL && rm -f index.html index.html.[0-9]* ls *.po | sed 's/\.po$//' >LINGUAS ) || exit