changeset 2434:84c58139cbd3

8171548: JDK bundles changes sym links incorrectly in the legal directory Reviewed-by: mchung
author erikj
date Wed, 21 Dec 2016 17:53:11 +0100
parents acf8119d2b86
children 449e1a137897 26763c920878
files make/Bundles.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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