8190744: xattr: No such file LICENSE files

Reviewed-by: alanb, tbell
This commit is contained in:
Erik Joelsson 2017-11-08 12:02:19 -08:00
parent 0e776aa080
commit eaf790b9be

View File

@ -529,7 +529,7 @@ else ifeq ($(OPENJDK_TARGET_OS),macosx)
$(call MakeDir, $(@D))
$(RM) '$(call DecodeSpace, $@)'
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'
if [ -n "`$(XATTR) -l '$(call DecodeSpace, $@)'`" ]; then $(XATTR) -c '$(call DecodeSpace, $@)'; fi
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then $(XATTR) -cs '$(call DecodeSpace, $@)'; fi
endef
else
define install-file