Mercurial > hg > octave-nkf > gnulib-hg
changeset 9743:52d4e62e200a
bootstrap: sync from coreutils
* build-aux/bootstrap (update_po_files): Copy a .po file into place
also when the target doesn't exist.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sat, 01 Mar 2008 09:08:53 +0100 |
parents | 732f01bce79f |
children | 5bba5c4615e5 |
files | build-aux/bootstrap |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -278,6 +278,7 @@ 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"