8171548: JDK bundles changes sym links incorrectly in the legal directory
authorerikj
Wed, 21 Dec 2016 17:53:11 +0100
changeset 42849 fa0a0a987432
parent 42848 27ad8b2418f7
child 42850 2dd56b699827
child 42857 b37629ea3943
8171548: JDK bundles changes sym links incorrectly in the legal directory Reviewed-by: mchung
make/Bundles.gmk
--- a/make/Bundles.gmk	Wed Dec 21 13:30:35 2016 +0100
+++ b/make/Bundles.gmk	Wed Dec 21 17:53:11 2016 +0100
@@ -103,7 +103,7 @@
 	  $(CD) $$($1_BASE_DIRS) \
 	      && ( $(TAR) cf - $(TAR_CREATE_EXTRA_PARAM) \
 	          -$(TAR_INCLUDE_PARAM) $$($1_$$($1_BASE_DIRS)_LIST_FILE) \
-	          $$(if $$($1_SUBDIR), --transform 's|^|$$($1_SUBDIR)/|') \
+	          $$(if $$($1_SUBDIR), --transform 's|^|$$($1_SUBDIR)/|S') \
 	          $(TAR_IGNORE_EXIT_VALUE) ) \
 	      | $(GZIP) > $$@
         else