# HG changeset patch # User katleman # Date 1359579862 28800 # Node ID cfe93cb07f19f6052e80d2157aa5155e47f0e7c6 # Parent 8eb680ee0b6dc530af7512ca631753eb69ec8753# Parent b498be4dc7ff00ca40beb134b513267761b12b13 Merge diff -r 8eb680ee0b6d -r cfe93cb07f19 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