Skip to content

Commit 585297d

Browse files
committed
8336498: [macos] [build]: install-file macro may run into permission denied error
8342858: Make target mac-jdk-bundle fails on chmod command Backport-of: b682b1faa0e1d8b3ff7aa5c5813e3ab0cd8f159c
1 parent f706c24 commit 585297d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

make/common/MakeBase.gmk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ ifeq ($(call isTargetOs, macosx), true)
290290
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
291291
fi
292292
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
293+
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
293294
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
294295
fi
295296
endef

0 commit comments

Comments
 (0)