changeset 2314:be5db597f3be

6928960: make modules fails to build class analyzer Reviewed-by: mchung
author alanb
date Tue, 23 Feb 2010 18:19:53 +0000
parents 00abf8c232be
children e94b296b53b4
files make/modules/tools/Makefile
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/make/modules/tools/Makefile	Tue Feb 23 17:58:30 2010 +0000
+++ b/make/modules/tools/Makefile	Tue Feb 23 18:19:53 2010 +0000
@@ -135,9 +135,8 @@
 
 $(CLASSANALYZER_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) $(FILES_class)
 	@$(prep-target)
-	$(CD) $(BUILDTOOLCLASSDIR) && \
-	    $(BOOT_JAR_CMD) cfm $@ $(BUILDTOOL_MANIFEST_FILE) \
-	       $(PKGDIR) $(BOOT_JAR_JFLAGS) || $(RM) $@
+	$(BOOT_JAR_CMD) cfm $@ $(BUILDTOOL_MANIFEST_FILE) \
+	    -C $(BUILDTOOLCLASSDIR) $(PKGDIR) $(BOOT_JAR_JFLAGS) || $(RM) $@
 	@$(java-vm-cleanup)
 
 $(BUILDTOOLJARDIR)/classfile.jar: $(FILES_classfile_class)