projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91b9f9
)
bootstrap: sync from coreutils
author
Jim Meyering
<meyering@redhat.com>
Sat, 1 Mar 2008 08:08:53 +0000
(09:08 +0100)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/build-aux/bootstrap
b/build-aux/bootstrap
index 87a279821bee2a0d5b90b46580f6a223df498ddd..d68d3f44f1ba6054ff6685890b38b4e18273f326 100755
(executable)
--- 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"