From eaf790b9beda2e5c3606469818a33b6561f74375 Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Wed, 8 Nov 2017 12:02:19 -0800 Subject: [PATCH] 8190744: xattr: No such file LICENSE files Reviewed-by: alanb, tbell --- make/common/MakeBase.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/common/MakeBase.gmk b/make/common/MakeBase.gmk index 9790a76540c..6a384bca8ef 100644 --- a/make/common/MakeBase.gmk +++ b/make/common/MakeBase.gmk @@ -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