8342858: Make target mac-jdk-bundle fails on chmod command

Reviewed-by: lucy, ihse
This commit is contained in:
Erik Joelsson 2024-10-23 17:27:17 +00:00
parent afb62f7349
commit a522d216b5

View File

@ -136,7 +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, $@)'; \
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
fi
endef