6928960: make modules fails to build class analyzer
authoralanb
Tue, 23 Feb 2010 18:19:53 +0000
changeset 4975 fff33270dd84
parent 4974 65af4830c5fa
child 4976 7419a22f407c
6928960: make modules fails to build class analyzer Reviewed-by: mchung
jdk/make/modules/tools/Makefile
--- a/jdk/make/modules/tools/Makefile	Tue Feb 23 17:58:30 2010 +0000
+++ b/jdk/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)