From: Paul Eggert Date: Wed, 31 Dec 2014 15:15:09 +0000 (-0800) Subject: * autogen.sh: Port better to non-GNU 'cp'. X-Git-Tag: emacs-24.4.90~78 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93796ba;p=emacs.git * autogen.sh: Port better to non-GNU 'cp'. Problem reported by Han Boetes. --- diff --git a/ChangeLog b/ChangeLog index 1b161abf11b..2d02bdff3ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-31 Paul Eggert + + * autogen.sh: Port better to non-GNU 'cp'. + Problem reported by Han Boetes. + 2014-12-28 Paul Eggert * build-aux/git-hooks/commit-msg: Allow tabs. diff --git a/autogen.sh b/autogen.sh index 69812cdcfe0..30e1877fbae 100755 --- a/autogen.sh +++ b/autogen.sh @@ -229,7 +229,7 @@ if test -d .git/hooks; then *--backup*--verbose*) cp_options='--backup=numbered --verbose';; *) - cp_options='';; + cp_options='-f';; esac if test -n "$tailored_hooks"; then