From: Harlan Stenn Date: Thu, 22 Nov 2007 21:37:57 +0000 (-0500) Subject: bootstrap: squawk if genver fails. Use -f with cp in case Dave does a chown X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06b68ced5c19aa5a665ec313978545dd50f1f05a;p=thirdparty%2Fntp.git bootstrap: squawk if genver fails. Use -f with cp in case Dave does a chown bk: 4745f6b5QDCU88XTMhq_MjjdC-2BKw --- diff --git a/ChangeLog b/ChangeLog index 04804c6303..e021caf70a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* bootstrap: squawk if genver fails. Use -f with cp in case Dave does a chown. * Remove obsolete simulator command-line options. * ntp_request.c: [CID 36] zero sin_zero. * [Bug 963] get_systime() is too noisy. diff --git a/bootstrap b/bootstrap index feea0caafb..29cb5d4db0 100755 --- a/bootstrap +++ b/bootstrap @@ -27,7 +27,7 @@ set -e -scripts/genver +scripts/genver || { echo scripts/genver failed ; exit 1; } # autoreconf says: # The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL, @@ -80,7 +80,7 @@ prog_opt_files=`grep -l '^prog.name' $def_files` for i in autogen-version.def version.def do - cmp -s include/$i sntp/$i || cp -p include/$i sntp/$i + cmp -s include/$i sntp/$i || cp -fp include/$i sntp/$i done # touch the stuff generated by the opt files