bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] bootstrap: sync from coreutils


From: Jim Meyering
Subject: [PATCH] bootstrap: sync from coreutils
Date: Sat, 01 Mar 2008 16:37:36 +0100

FYI, I've just pushed this:

        bootstrap: sync from coreutils
        * build-aux/bootstrap (update_po_files): Copy a .po file into place
        also when the target doesn't exist.

diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 87a2798..d68d3f4 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -278,6 +278,7 @@ update_po_files() {
     new_po="$ref_po_dir/$po.po"
     cksum_file="$ref_po_dir/$po.s1"
     if ! test -f "$cksum_file" ||
+       ! test -f "$po_dir/$po.po" ||
        ! sha1sum -c --status "$cksum_file" < "$new_po" > /dev/null; then
       echo "updated $po_dir/$po.po..."
       cp "$new_po" "$po_dir/$po.po" && sha1sum < "$new_po" > "$cksum_file"
--
1.5.4.3.341.g956c8c




reply via email to

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