From 732cae8fd05bdaae5a1b7fb30cbb5d2dde8e6b84 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 8 Oct 2008 07:49:18 +0200 Subject: Fix bootstrap to remove read-only directories right. * bootstrap: Remove automake-$APIVERSION correctly. Signed-off-by: Ralf Wildenhues --- bootstrap | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bootstrap') 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. -- cgit v1.2.1