diff update-version.sh @ 14568:bb572accd1af

update-version.sh: Use mv -f to avoid questions in some systems.
author Timo Sirainen <tss@iki.fi>
date Thu, 17 May 2012 18:08:58 +0300
parents a2c6c91635b5
children f76349851caa
line wrap: on
line diff
--- a/update-version.sh	Wed May 16 18:57:05 2012 +0300
+++ b/update-version.sh	Thu May 17 18:08:58 2012 +0300
@@ -64,4 +64,4 @@
 
 cmp -s "${BUILDDIR}/${VERSION_H}" "${BUILDDIR}/${VERSION_HT}" && \
 	rm -f "${BUILDDIR}/${VERSION_HT}" || \
-	mv "${BUILDDIR}/${VERSION_HT}" "${BUILDDIR}/${VERSION_H}"
+	mv -f "${BUILDDIR}/${VERSION_HT}" "${BUILDDIR}/${VERSION_H}"