All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scripts/entitlement.sh: Use backward-compatible cp flags
@ 2021-11-30 17:30 Evan Miller
  0 siblings, 0 replies; only message in thread
From: Evan Miller @ 2021-11-30 17:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-30 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30 17:30 [PATCH] scripts/entitlement.sh: Use backward-compatible cp flags Evan Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.