]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
The commands of the $(TOOLS_ZIP) rule include copying of two subtrees from the source...
authorJan Beulich <jbeulich@suse.com>
Thu, 29 Sep 2011 11:37:47 +0000 (11:37 +0000)
committerJan Beulich <jbeulich@gcc.gnu.org>
Thu, 29 Sep 2011 11:37:47 +0000 (11:37 +0000)
The commands of the $(TOOLS_ZIP) rule include copying of two subtrees from the
source tree (asm/ and classes/). If the source tree is read-only, the use of
cp's -p option here prevents the trees from getting deleted later in the rule
if they (or at least their directories) don't get marked writable.

Committed as obvious.

libjava/classpath/
2011-09-29  Jan Beulich  <jbeulich@suse.com>

* tools/Makefile.am (TOOLS_ZIP): Make writable the copied subtrees
asm/ and classes/.
* tools/Makefile.in: Re-generate.

From-SVN: r179343

libjava/classpath/ChangeLog
libjava/classpath/tools/Makefile.am
libjava/classpath/tools/Makefile.in

index 75217a47f7b2d5a36b8ebebf446f505e09b8c89d..0ba40b04c356f2ac68ad1fe7cbfab3e409323343 100644 (file)
@@ -1,3 +1,9 @@
+2011-09-29  Jan Beulich  <jbeulich@suse.com>
+
+       * tools/Makefile.am (TOOLS_ZIP): Make writable the copied subtrees
+       asm/ and classes/.
+       * tools/Makefile.in: Re-generate.
+
 2010-06-03  Andrew John Hughes  <ahughes@redhat.com>
 
        * examples/gnu/classpath/examples/CORBA/NamingService/Demo.java,
index 44489c89afd25e094da3f977a5f56a52c5a221ba..f7ad91c906934cdaa7b692a8300e5066a63980b3 100755 (executable)
@@ -371,6 +371,7 @@ endif
 ## BEGIN GCJ LOCAL
        cp -pR $(srcdir)/asm .
        cp -pR $(srcdir)/classes .
+       find asm classes -type d -exec chmod u+w \{\} \;
        if [ -d asm/.svn ]; then \
          find asm classes -depth -type d -name .svn -exec rm -rf \{\} \;; \
        fi
index adb8c09b7d6db22db5b212147eb1823fcfd00055..d82fac6d9ae2a5a319d6b7da2ffe066c32c45c1a 100644 (file)
@@ -1425,6 +1425,7 @@ $(TOOLS_ZIP): $(ALL_TOOLS_FILES)
        done
        cp -pR $(srcdir)/asm .
        cp -pR $(srcdir)/classes .
+       find asm classes -type d -exec chmod u+w \{\} \;
        if [ -d asm/.svn ]; then \
          find asm classes -depth -type d -name .svn -exec rm -rf \{\} \;; \
        fi