From: Ben Pfaff Date: Tue, 15 Jun 2010 17:37:27 +0000 (-0700) Subject: update-debian-changelog: Pass "-f" to "mv" to fix "make distcheck". X-Git-Tag: v1.1.0pre1~284 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=50fa00401969b3ef19ecba84ef1bee380819f6c8 update-debian-changelog: Pass "-f" to "mv" to fix "make distcheck". "make distcheck" unsets the "writable" bit of files as it installs them on "make dist", so to avoid an error (or a user query) updating debian/changelog in such a situation we must use the -f option. --- diff --git a/build-aux/update-debian-changelog b/build-aux/update-debian-changelog index dfb84fc49..9353e7009 100755 --- a/build-aux/update-debian-changelog +++ b/build-aux/update-debian-changelog @@ -33,5 +33,5 @@ openvswitch ($VERSION) unstable; urgency=low EOF cat "$CHANGELOG" } > "$CHANGELOG".new - mv "$CHANGELOG".new "$CHANGELOG" + mv -f "$CHANGELOG".new "$CHANGELOG" fi