"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 <
g...@lexort.com>
---
GNUmakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GNUmakefile b/GNUmakefile
index 812ea388..767b0ee0 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.36.1