From daf18762e1b906bf8c80193358c73a1fd10691cd Mon Sep 17 00:00:00 2001 From: Greg Troxel Date: Sat, 9 Jul 2022 23:52:29 +0000 Subject: [PATCH] GNUMakefile: Adjust cp invocation to what POSIX requires "cp -a" is nonportable, as POSIX does not specify -a: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html Use -R -p instead. Signed-off-by: Greg Troxel Reviewed-by: Rob Browning Tested-by: Rob Browning --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 812ea38..767b0ee 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -176,7 +176,7 @@ dev/python-proposed: dev/python.c src/bup/compat.c src/bup/io.c clean_paths += dev/python dev/python: dev/python-proposed dev/validate-python $@-proposed - cp -a $@-proposed $@ + cp -R -p $@-proposed $@ clean_paths += dev/bup-exec generated_dependencies += dev/bup-exec.d -- 2.39.2