summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/tools/Makefile.am
diff options
context:
space:
mode:
authorjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-29 11:37:47 +0000
committerjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-29 11:37:47 +0000
commit9886b9313d3a636ea2f7b651867b2cbc7449a9d7 (patch)
treec7ab60372e5607ca7f8d8cb190a0044f823cdce2 /libjava/classpath/tools/Makefile.am
parentd7ad16c2a7cc38820691e984a77a2a3d76e195ca (diff)
downloadppe42-gcc-9886b9313d3a636ea2f7b651867b2cbc7449a9d7.tar.gz
ppe42-gcc-9886b9313d3a636ea2f7b651867b2cbc7449a9d7.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/tools/Makefile.am')
-rwxr-xr-xlibjava/classpath/tools/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/classpath/tools/Makefile.am b/libjava/classpath/tools/Makefile.am
index 44489c89afd..f7ad91c9069 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
OpenPOWER on IntegriCloud