diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-09-29 11:37:47 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@gcc.gnu.org> | 2011-09-29 11:37:47 +0000 |
commit | aec7773c94d61d2b47632b9394abbc78417afa21 (patch) | |
tree | c7ab60372e5607ca7f8d8cb190a0044f823cdce2 /libjava/classpath/tools | |
parent | d246ab4f578b2e3369963386bafd66b26de8e63d (diff) | |
download | gcc-aec7773c94d61d2b47632b9394abbc78417afa21.zip gcc-aec7773c94d61d2b47632b9394abbc78417afa21.tar.gz gcc-aec7773c94d61d2b47632b9394abbc78417afa21.tar.bz2 |
The commands of the $(TOOLS_ZIP) rule include copying of two subtrees from the source tree (asm/ and classes/).
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
Diffstat (limited to 'libjava/classpath/tools')
-rwxr-xr-x | libjava/classpath/tools/Makefile.am | 1 | ||||
-rw-r--r-- | libjava/classpath/tools/Makefile.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libjava/classpath/tools/Makefile.am b/libjava/classpath/tools/Makefile.am index 44489c8..f7ad91c 100755 --- a/libjava/classpath/tools/Makefile.am +++ b/libjava/classpath/tools/Makefile.am @@ -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 diff --git a/libjava/classpath/tools/Makefile.in b/libjava/classpath/tools/Makefile.in index adb8c09..d82fac6 100644 --- a/libjava/classpath/tools/Makefile.in +++ b/libjava/classpath/tools/Makefile.in @@ -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 |