]> Dogcows Code - chaz/tar/blobdiff - bootstrap
New file.
[chaz/tar] / bootstrap
index 3245670d8d9a55e0d3f17e1d474b4e4e12ca31c1..f8d2f3ad97df7ede5779b19d890a368e985905ff 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -24,6 +24,7 @@
 
 # Parse options.
 
+DOWNLOAD_PO=yes
 for option
 do
   case $option in
@@ -36,6 +37,8 @@ do
     CVS_AUTH=`expr "$1" : '--cvs-auth=\(.*\)'`;;
   --cvs-user=*)
     CVS_USER=`expr "$1" : '--cvs-user=\(.*\)'`;;
+  --no-po)
+    DOWNLOAD_PO=no;;
   *)
     echo >&2 "$0: $option: unknown option"
     exit 1;;
@@ -164,14 +167,15 @@ done
 
 # Get translations.
 
-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 \
-   http://www.iro.umontreal.ca/contrib/po/maint/tar/ &&
- ls *.po | sed 's/\.po$//' >LINGUAS
-) || exit
-
+if test "$DOWNLOAD_PO" = "yes"; then
+  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 \
+    http://www.iro.umontreal.ca/contrib/po/maint/tar/ &&
+    ls *.po | sed 's/\.po$//' >LINGUAS
+  ) || exit
+fi
 
 # Reconfigure, getting other files.
 
This page took 0.02028 seconds and 4 git commands to generate.