summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-10-08 07:49:18 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-10-08 07:49:18 +0200
commit732cae8fd05bdaae5a1b7fb30cbb5d2dde8e6b84 (patch)
tree7b22cc717b8d1e7302c8d9cd9ef3e4e79daad82b /bootstrap
parent2e31cbb77129bae520f0a18a59a72229cd9c7bf6 (diff)
downloadautomake-732cae8fd05bdaae5a1b7fb30cbb5d2dde8e6b84.tar.gz
Fix bootstrap to remove read-only directories right.
* bootstrap: Remove automake-$APIVERSION correctly. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 5 insertions, 1 deletions
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 <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.