From a522d216b5bebbf103e5a823f0bba22cf1508883 Mon Sep 17 00:00:00 2001 From: Erik Joelsson Date: Wed, 23 Oct 2024 17:27:17 +0000 Subject: [PATCH] 8342858: Make target mac-jdk-bundle fails on chmod command Reviewed-by: lucy, ihse --- make/common/FileUtils.gmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/common/FileUtils.gmk b/make/common/FileUtils.gmk index 89cbe872721..d3cc4872ebb 100644 --- a/make/common/FileUtils.gmk +++ b/make/common/FileUtils.gmk @@ -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