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