[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] scripts/entitlement.sh: Use backward-compatible cp flags
From: |
Evan Miller |
Subject: |
[PATCH] scripts/entitlement.sh: Use backward-compatible cp flags |
Date: |
Tue, 30 Nov 2021 12:30:12 -0500 |
Older versions of Mac OS X do not support cp -a. The cp man page indicates that
-a is equivalent to -pPR.
Signed-off-by: Evan Miller <emmiller@gmail.com>
--- scripts/entitlement.sh.orig
+++ scripts/entitlement.sh
@@ -15,7 +15,7 @@
if $in_place; then
trap 'rm "$DST.tmp"' exit
- cp -af "$SRC" "$DST.tmp"
+ cp -pPRf "$SRC" "$DST.tmp"
SRC="$DST.tmp"
else
cd "$MESON_INSTALL_DESTDIR_PREFIX"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] scripts/entitlement.sh: Use backward-compatible cp flags,
Evan Miller <=