]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: force remove file droppings from previous run.
authorGary V. Vaughan <gary@gnu.org>
Fri, 3 Jan 2014 02:55:30 +0000 (15:55 +1300)
committerGary V. Vaughan <gary@gnu.org>
Fri, 3 Jan 2014 02:55:30 +0000 (15:55 +1300)
Now that we generate bootstrap.new with no write permission,
we have to force remove it before writing now content to the file.
* bootstrap.in (require_bootstrap_uptodate): Remove old
bootstrap.new output.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap
gl/build-aux/bootstrap.in

index f6ea4da3d9c42fea784608f35dd4c0c76cfc1f5d..2fbd533b8732becaff09b603bdb699bda7482eab 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -3317,6 +3317,7 @@ Please add bootstrap to your gnulib_modules list in
 'bootstrap.conf', so that I can tell you when there are
 updates available."
     else
+      rm -f bootstrap.new
       $build_aux/inline-source $build_aux/bootstrap.in > bootstrap.new
 
       if func_cmp_s "$progpath" bootstrap.new; then
index 9591384d9d34409ed921e4fecaea1fff707b2eeb..8d1b9cef20b75942e4cf1d89304d5e6ccb45cb21 100755 (executable)
@@ -983,6 +983,7 @@ Please add bootstrap to your gnulib_modules list in
 'bootstrap.conf', so that I can tell you when there are
 updates available."
     else
+      rm -f bootstrap.new
       $build_aux/inline-source $build_aux/bootstrap.in > bootstrap.new
 
       if func_cmp_s "$progpath" bootstrap.new; then