Merge
authorkatleman
Wed, 30 Jan 2013 13:04:22 -0800
changeset 15341 cfe93cb07f19
parent 15339 8eb680ee0b6d (current diff)
parent 15340 b498be4dc7ff (diff)
child 15342 2f6a7dddcaea
Merge
jdk/makefiles/CopyFiles.gmk
--- a/jdk/makefiles/CopyFiles.gmk	Wed Jan 30 10:18:33 2013 -0800
+++ b/jdk/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