[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix bootstrap to remove read-only directories right.
From: |
Ralf Wildenhues |
Subject: |
Fix bootstrap to remove read-only directories right. |
Date: |
Wed, 8 Oct 2008 07:51:09 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
When an earlier in-tree 'make dist' was interrupted, it may leave behind
a directory automake-$APIVERSION with read-only subdirs, breaking a
subsequent bootstrap. This trivial patch fixes that.
Pushed to master and branch-1-10.
Cheers,
Ralf
Fix bootstrap to remove read-only directories right.
* bootstrap: Remove automake-$APIVERSION correctly.
diff --git a/bootstrap b/bootstrap
index f837d05..0a92d99 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 <address@hidden> 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix bootstrap to remove read-only directories right.,
Ralf Wildenhues <=