bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bootstrap: fix wget command for po files


From: Akim Demaille
Subject: bootstrap: fix wget command for po files
Date: Sat, 13 Oct 2018 07:22:03 +0200

I can’t bootstrap bison.  I’m surprised this could have worked
since the removal of the rsync command.

commit 6c3b072e6a48d45455b37420caf14b804cbba23c
Author: Akim Demaille <address@hidden>
Date:   Sat Oct 13 07:16:00 2018 +0200

    bootstrap: fix wget command for po files.
    
    * build-aux/bootstrap (po_download_command_format): Fix comment,
    and adjust callers.

diff --git a/ChangeLog b/ChangeLog
index 97a521a7e..ecd69df04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-10-13  Akim Demaille  <address@hidden>
+
+       bootstrap: fix wget command for po files.
+       * build-aux/bootstrap (po_download_command_format): Fix comment,
+       and adjust callers.
+
 2018-10-13  Akim Demaille  <address@hidden>
 
        timevar: improve the output format
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index cde39f4e7..5264d9f1e 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2018-07-25.07; # UTC
+scriptversion=2018-10-13.05; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -162,9 +162,9 @@ bootstrap_post_import_hook() { :; }
 # Override it via your own definition in bootstrap.conf.
 bootstrap_epilogue() { :; }
 
-# The command to download all .po files for a specified domain into
-# a specified directory.  Fill in the first %s is the domain name, and
-# the second with the destination directory.
+# The command to download all .po files for a specified domain into a
+# specified directory.  Fill in the first %s with the destination
+# directory and the second with the domain name.
 po_download_command_format=\
 "wget --mirror --level=1 -nd -q -A.po -P '%s' \
  https://translationproject.org/latest/%s/";
@@ -734,7 +734,7 @@ download_po_files() {
   subdir=$1
   domain=$2
   echo "$me: getting translations into $subdir for $domain..."
-  cmd=$(printf "$po_download_command_format" "$domain" "$subdir")
+  cmd=$(printf "$po_download_command_format" "$subdir" "$domain")
   eval "$cmd"
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]