]> arthur.barton.de Git - bup.git/commitdiff
Copy python-proposed instead of hardlink to python
authorMuh Muhten <muh.muhten@gmail.com>
Thu, 26 May 2022 05:08:09 +0000 (01:08 -0400)
committerRob Browning <rlb@defaultvalue.org>
Sat, 25 Jun 2022 18:25:08 +0000 (13:25 -0500)
In the unlikely event that we're building on a filesystem that doesn't
support hard links, ln fails gratuitously, while copying probably still
works. The python wrapper is normally pretty small.

Signed-off-by: Muh Muhten <muh.muhten@gmail.com>
GNUmakefile

index 20754e57aa52441baeb90df1ff685c7ce197496c..5ec49bf767a384dd1c58346b4bebe3f18da24092 100644 (file)
@@ -172,7 +172,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
-       ln $@-proposed $@
+       cp -a $@-proposed $@
 
 clean_paths += dev/bup-exec
 generated_dependencies += dev/bup-exec.d