bootstrap: sync from coreutils
authorJim Meyering <meyering@redhat.com>
Sat, 1 Mar 2008 08:08:53 +0000 (09:08 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Mar 2008 15:36:28 +0000 (16:36 +0100)
* build-aux/bootstrap (update_po_files): Copy a .po file into place
also when the target doesn't exist.

build-aux/bootstrap

index 87a2798..d68d3f4 100755 (executable)
@@ -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"