Skip to content

Commit

Permalink
GNUMakefile: Adjust cp invocation to what POSIX requires
Browse files Browse the repository at this point in the history
"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 <[email protected]>
Reviewed-by: Rob Browning <[email protected]>
Tested-by: Rob Browning <[email protected]>
  • Loading branch information
gdt authored and rlbdv committed Jul 11, 2022
1 parent f5cf01c commit daf1876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit daf1876

Please sign in to comment.