Răsfoiți Sursa

Fix quoting in help output.
(update_po): Use backward-compatible wget option --cache instead
of deprecated -C to accomodate for wget 1.10.
Changes proposed by Eric Blake

Sergey Poznyakoff 19 ani în urmă
părinte
comite
c2552c6c40
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      bootstrap

+ 2 - 2
bootstrap

@@ -52,7 +52,7 @@ usage() {
  --no-po                      Do not download po files.
  --no-po                      Do not download po files.
  --update-po[=LANG]           Update po file(s) and exit.
  --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
 contents is read, comments and empty lines removed, shell variables expanded
 and the result is prepended to the command line options.
 and the result is prepended to the command line options.
 
 
@@ -71,7 +71,7 @@ update_po() {
     *)     POFILE=${1}.po;;
     *)     POFILE=${1}.po;;
     esac
     esac
     echo "$0: getting translation for $1..."
     echo "$0: getting translation for $1..."
-    wget -r -C off $TP_URL/$POFILE
+    wget -r --cache=off $TP_URL/$POFILE
   else
   else
     echo "$0: getting translations into po..."
     echo "$0: getting translations into po..."
     (cd po &&
     (cd po &&