8171548: JDK bundles changes sym links incorrectly in the legal directory
Reviewed-by: mchung
--- 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