8006873: SWAT-b74 msvcr100.dll does not have the permission for all
authorerikj
Tue, 29 Jan 2013 16:35:24 +0100
changeset 15340 b498be4dc7ff
parent 15167 f627eff81962
child 15341 cfe93cb07f19
8006873: SWAT-b74 msvcr100.dll does not have the permission for all Reviewed-by: alanb, tbell
jdk/makefiles/CopyFiles.gmk
--- a/jdk/makefiles/CopyFiles.gmk	Wed Jul 05 18:37:13 2017 +0200
+++ b/jdk/makefiles/CopyFiles.gmk	Tue Jan 29 16:35:24 2013 +0100
@@ -267,10 +267,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