/[tar]/tar/bootstrap
ViewVC logotype

Diff of /tar/bootstrap

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35 by gray, Fri Oct 28 09:29:16 2005 UTC revision 1.37 by gray, Fri Nov 4 12:41:25 2005 UTC
# Line 52  usage() { Line 52  usage() {
52   --no-po                      Do not download po files.   --no-po                      Do not download po files.
53   --update-po[=LANG]           Update po file(s) and exit.   --update-po[=LANG]           Update po file(s) and exit.
54    
55  If the file `.bootstrap' exists in the current working directory, its  If the file \`.bootstrap' exists in the current working directory, its
56  contents is read, comments and empty lines removed, shell variables expanded  contents is read, comments and empty lines removed, shell variables expanded
57  and the result is prepended to the command line options.  and the result is prepended to the command line options.
58    
# Line 71  update_po() { Line 71  update_po() {
71      *)     POFILE=${1}.po;;      *)     POFILE=${1}.po;;
72      esac      esac
73      echo "$0: getting translation for $1..."      echo "$0: getting translation for $1..."
74      wget -r -C off $TP_URL/$POFILE      wget -r --cache=off $TP_URL/$POFILE
75    else    else
76      echo "$0: getting translations into po..."      echo "$0: getting translations into po..."
77      (cd po &&      (cd po &&
78       rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&       rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` &&
79        wget -nv -nd -r -l 1 -A .po -C off $TP_URL &&        wget -nv -nd -r -l 1 -A .po --cache off $TP_URL &&
80        rm -f index.html index.html.[0-9]*        rm -f index.html index.html.[0-9]*
81        ls *.po | sed 's/\.po$//' >LINGUAS        ls *.po | sed 's/\.po$//' >LINGUAS
82      ) || exit      ) || exit

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26