From 2e6c567d27487c3117604f83e5a8efcf4a01551d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 1 Mar 2008 09:08:53 +0100 Subject: [PATCH] bootstrap: sync from coreutils * build-aux/bootstrap (update_po_files): Copy a .po file into place also when the target doesn't exist. --- build-aux/bootstrap | 1 + 1 file changed, 1 insertion(+) diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 87a279821..d68d3f44f 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" -- 2.11.0