changeset 2588:27cee12e2bc9 icedtea6-1.10.9

Don't cd into source directory to build class rewriter. 2012-08-31 Andrew John Hughes <ahughes@redhat.com> * Makefile.am: (rewriter.stamp): Don't cd into the directory, as this will fail when source directory path is not absolute.
author Andrew John Hughes <ahughes@redhat.com>
date Fri, 31 Aug 2012 18:33:53 +0100
parents c361d16a9b40
children 3e99cfa5acbf
files ChangeLog Makefile.am
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 31 17:55:31 2012 +0100
+++ b/ChangeLog	Fri Aug 31 18:33:53 2012 +0100
@@ -1,3 +1,10 @@
+2012-08-31  Andrew John Hughes  <ahughes@redhat.com>
+
+	* Makefile.am:
+	(rewriter.stamp): Don't cd into the directory,
+	as this will fail when source directory path
+	is not absolute.
+
 2012-08-31  Andrew John Hughes  <ahughes@redhat.com>
 
 	* Makefile.am:
--- a/Makefile.am	Fri Aug 31 17:55:31 2012 +0100
+++ b/Makefile.am	Fri Aug 31 18:33:53 2012 +0100
@@ -1820,10 +1820,8 @@
 stamps/rewriter.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
 if WITH_RHINO
 	mkdir -p $(abs_top_builddir)/rewriter.build && \
-	(cd $(abs_top_srcdir)/rewriter ; \
-	 $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
-	 -d $(abs_top_builddir)/rewriter.build $(REWRITER_SRCS) \
-	)
+	$(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
+	 -d $(abs_top_builddir)/rewriter.build $(REWRITER_SRCS)
 endif
 	mkdir -p stamps
 	touch stamps/rewriter.stamp