]> arthur.barton.de Git - bup.git/blobdiff - Makefile
open_noatime bup_get_linux_file_attr: accommodate python 3
[bup.git] / Makefile
index 87e78fab1731ec7fe72096cff444273c06c7320d..b6add57d119de4c6dbc2906b15096faeadd5df9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -146,6 +146,7 @@ runtests: runtests-python runtests-cmdline
 python_tests := \
   lib/bup/t/tbloom.py \
   lib/bup/t/thashsplit.py \
+  lib/bup/t/thelpers.py \
   lib/bup/t/tindex.py \
   lib/bup/t/toptions.py \
   lib/bup/t/tshquote.py \
@@ -156,7 +157,6 @@ ifeq "2" "$(bup_python_majver)"
   python_tests += \
     lib/bup/t/tclient.py \
     lib/bup/t/tgit.py \
-    lib/bup/t/thelpers.py \
     lib/bup/t/tmetadata.py \
     lib/bup/t/tresolve.py \
     lib/bup/t/tvfs.py
@@ -258,7 +258,7 @@ distcheck: all
        ./wvtest run t/test-release-archive.sh
 
 cmd/bup-python: cmd/python-cmd.sh config/config.var/bup-python
-       dev/replace -l '@bup_python@' \
+       "$$(cat config/config.var/bup-python)" dev/replace -l '@bup_python@' \
          "$$(dev/shquote < config/config.var/bup-python)" \
          < "$<" > "$@".$$PPID.tmp
        chmod +x "$@".$$PPID.tmp