changeset 47715:5645dc537135

8190744: xattr: No such file LICENSE files Reviewed-by: alanb, tbell
author erikj
date Wed, 08 Nov 2017 12:02:19 -0800
parents 28e37caf50c1
children 3d660bb6b67d
files make/common/MakeBase.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/MakeBase.gmk	Wed Nov 08 09:18:15 2017 -0500
+++ b/make/common/MakeBase.gmk	Wed Nov 08 12:02:19 2017 -0800
@@ -529,7 +529,7 @@
 	$(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