changeset 6470:4a67fdb752b7 jdk8-b75

Merge
author katleman
date Wed, 30 Jan 2013 13:04:22 -0800
parents ac286bf65242 3c499051a5df
children 6ba6353ab42c c5a7ac2a721f 771551bc9e02
files makefiles/CopyFiles.gmk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/makefiles/CopyFiles.gmk	Wed Jan 30 10:18:33 2013 -0800
+++ b/makefiles/CopyFiles.gmk	Wed Jan 30 13:04:22 2013 -0800
@@ -288,10 +288,12 @@
 
 ifeq ($(OPENJDK_TARGET_OS),windows)
     MSVCR_TARGET := $(JDK_OUTPUTDIR)/bin/$(notdir $(MSVCR_DLL))
+    # Chmod to avoid permission issues if bundles are unpacked on unix platforms.
     $(MSVCR_TARGET): $(MSVCR_DLL)
 	$(MKDIR) -p $(@D)
 	$(RM) $@
 	$(CP) $< $@
+	$(CHMOD) a+rx $@
 
     COPY_FILES += $(MSVCR_TARGET)
 endif