]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix bootstrap to remove read-only directories right.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 8 Oct 2008 05:49:18 +0000 (07:49 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 8 Oct 2008 05:49:18 +0000 (07:49 +0200)
* bootstrap: Remove automake-$APIVERSION correctly.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
bootstrap

index 3bdaa6e5e5632857517bd459c14daa9681290aca..a5b808d0a3b06ad9f4e7161e5291f48554aee4ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix bootstrap to remove read-only directories right.
+       * bootstrap: Remove automake-$APIVERSION correctly.
+
 2008-10-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Improve test coverage of current TESTS semantics.
index 0b7c43e95ef1deddf238c5463ed4db1c7c28680d..aa50f5d14128a5dfacfbf8cd4e1543013e4e9ec3 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -2,7 +2,8 @@
 
 # This script helps bootstrap automake, when checked out from git.
 #
-# Copyright (C) 2002, 2003, 2004, 2007  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2007, 2008  Free Software Foundation,
+# Inc.
 # written by Pavel Roskin <proski@gnu.org> September 2002
 #
 # This program is free software; you can redistribute it and/or modify
@@ -83,6 +84,9 @@ fi
 # Make a dummy versioned directory for aclocal
 rm -rf aclocal-$APIVERSION
 mkdir aclocal-$APIVERSION
+if test -d automake-$APIVERSION; then
+       find automake-$APIVERSION -exec chmod u+wx '{}' ';'
+fi
 rm -rf automake-$APIVERSION
 # Can't use `ln -s lib automake-$APIVERSION',
 # that would create a lib.exe stub under DJGPP 2.03.