From: Ralf Wildenhues Date: Wed, 8 Oct 2008 05:49:18 +0000 (+0200) Subject: Fix bootstrap to remove read-only directories right. X-Git-Tag: v1.10b~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732cae8fd05bdaae5a1b7fb30cbb5d2dde8e6b84;p=thirdparty%2Fautomake.git Fix bootstrap to remove read-only directories right. * bootstrap: Remove automake-$APIVERSION correctly. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 3bdaa6e5e..a5b808d0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-08 Ralf Wildenhues + + Fix bootstrap to remove read-only directories right. + * bootstrap: Remove automake-$APIVERSION correctly. + 2008-10-06 Ralf Wildenhues Improve test coverage of current TESTS semantics. diff --git a/bootstrap b/bootstrap index 0b7c43e95..aa50f5d14 100755 --- 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 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.