From a9c34057c906d7f6a11ee5d4900e1de62a3275af Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Thu, 24 Apr 2025 13:38:47 -0700 Subject: [PATCH] HDDS-12893. cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead Change-Id: If18ec5e54ae4f5535b9f03edddc01b5974cc3100 --- hadoop-ozone/dist/dev-support/bin/dist-layout-stitching | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching b/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching index 125ccfdf1cbc..7f0754ea9e91 100755 --- a/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching +++ b/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching @@ -132,7 +132,7 @@ run mkdir compose/_keytabs # Determine CPFLAGS based on system type if [ "$(uname)" = "Darwin" ]; then - CPFLAGS="--no-clobber" + CPFLAGS="-n" else CPFLAGS="--update=none" fi