fix error message in building jar
Stefan Schuermans

Stefan Schuermans commited on 2011-09-11 16:49:48
Showing 1 changed files, with 4 additions and 3 deletions.

... ...
@@ -71,10 +71,11 @@ Blimp.jar: Blimp.mf Blimp.keystore $(CLASS_FILES) $(IMAGE_FILES)
71 71
 	    cp $$FILE tmp/$$FILE || exit; \
72 72
 	  done
73 73
 	for JAR in $(filter %.jar,$(subst :, ,$(CLASSPATH))); \
74
-	  do \
75
-	    cd tmp; $(JAR) xf ../$$JAR || exit; \
74
+	  do ( \
75
+	    cd tmp || exit; \
76
+	    $(JAR) xf ../$$JAR || exit; \
76 77
 	    rm -rf META-INF; \
77
-	  done
78
+	  ) done
78 79
 	cd tmp; $(JAR) cmf ../Blimp.mf ../Blimp.jar .
79 80
 	rm -rf tmp
80 81
 	$(JARSIGNER) -keystore Blimp.keystore -storepass $(KEYPASS) Blimp.jar Blimp
81 82