From 3d6861406fa0fb5ecd5f61bd7389c873e6eea810 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Sun, 10 Mar 2019 19:24:12 +0900 Subject: [PATCH] units: don't use -r option with -a option of cp command -a implies -r. This redundancy causes an error on MacOSX. Signed-off-by: Masatake YAMATO --- misc/units | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/units b/misc/units index dfa07541cf..9bda0360be 100755 --- a/misc/units +++ b/misc/units @@ -430,7 +430,7 @@ prepare_bundles () ;; *) dist="${to}/$(basename ${src})" - if ! cp -ar "${src}" "${to}"; then + if ! cp -a "${src}" "${to}"; then ERROR 1 "failure in copying bundle file \"${src}\" to \"${to}\"" else echo ${dist} >> ${obundles}