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 <[EMAIL PROTECTED]> 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.


Reply via email to