8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
authorihse
Tue, 22 Nov 2016 14:48:16 +0100
changeset 42184 6965d53e507c
parent 42183 6b4cdd4a4609
child 42219 5c88c0c3d165
8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip Reviewed-by: erikj
jdk/test/Makefile
--- a/jdk/test/Makefile	Tue Nov 22 01:37:18 2016 -0800
+++ b/jdk/test/Makefile	Tue Nov 22 14:48:16 2016 +0100
@@ -55,7 +55,7 @@
 UNAME     = uname
 UNIQ      = uniq
 WC        = wc
-ZIP       = zip
+ZIPEXE    = zip
 
 # Get OS name from uname (Cygwin inexplicably adds _NT-5.1)
 UNAME_S := $(shell $(UNAME) -s | $(CUT) -f1 -d_)
@@ -162,7 +162,7 @@
 ZIP_UP_RESULTS = ( $(MKDIR) -p `$(DIRNAME) $(ARCHIVE_BUNDLE)`     \
 	           && $(CD) $(ABS_TEST_OUTPUT_DIR)             \
 	           && $(CHMOD) -R a+r . \
-	           && $(ZIP) -q -r $(ARCHIVE_BUNDLE) . )
+	           && $(ZIPEXE) -q -r $(ARCHIVE_BUNDLE) . )
 
 # important results files
 SUMMARY_TXT = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)/JTreport/text/summary.txt")