8336498: [macos] [build]: install-file macro may run into permission denied error
Reviewed-by: clanger, erikj
This commit is contained in:
parent
e88a3b0574
commit
715fa8f9fe
@ -136,6 +136,7 @@ ifeq ($(call isTargetOs, macosx), true)
|
||||
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
|
||||
fi
|
||||
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
|
||||
$(CHMOD) u+w '$(call DecodeSpace, $@)'; \
|
||||
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
|
||||
fi
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user