From 93796baeee0707c77959ffad8f6c46e26c23bbbf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 31 Dec 2014 07:15:09 -0800 Subject: [PATCH] * autogen.sh: Port better to non-GNU 'cp'. Problem reported by Han Boetes. --- ChangeLog | 5 +++++ autogen.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.2