This is an automated email from the ASF dual-hosted git repository. jongyoul pushed a commit to branch branch-0.11 in repository https://gitbox.apache.org/repos/asf/zeppelin.git
commit f7b667d0ce09b0f97860c631f4c5977cb303401a Author: Cheng Pan <cheng...@apache.org> AuthorDate: Sat Jul 6 17:26:19 2024 +1000 [ZEPPELIN-6029] Set COPYFILE_DISABLE=1 for macOS tar (#4774) * [ZEPPELIN-6029] Add --disable-copyfile for macOS tar * COPYFILE_DISABLE=1 (cherry picked from commit 289e954db5a2cd4577a8ecd0437ef2f7353cbf55) --- dev/common_release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev/common_release.sh b/dev/common_release.sh index e3de77778a..088e5d21de 100644 --- a/dev/common_release.sh +++ b/dev/common_release.sh @@ -20,7 +20,11 @@ # common fucntions if [[ -z "${TAR}" ]]; then - TAR="/usr/bin/tar" + TAR="tar" + if [ "$(uname -s)" = "Darwin" ]; then + export COPYFILE_DISABLE=1 + TAR="tar --no-mac-metadata --no-xattrs --no-fflags" + fi fi if [[ -z "${SHASUM}" ]]; then