]> arthur.barton.de Git - bup.git/blobdiff - config/configure
Generate bup-python from Makefile not configure
[bup.git] / config / configure
index a2afb83778825e55eb42e7ce53dabc054f77b16a..e630bedfcdce0bb8c6432d755428cccdda9e40c9 100755 (executable)
@@ -64,10 +64,7 @@ test -z "$bup_python" && bup_python="$(bup_find_prog python '')"
 if test -z "$bup_python"; then
     AC_FAIL "ERROR: unable to find python"
 else
-    echo "#!/bin/sh" > ../cmd/python-cmd.sh
-    printf "exec %q \"\$@\"" "$bup_python" >> ../cmd/python-cmd.sh
-    chmod u+x ../cmd/python-cmd.sh
-    cd ../cmd && ln -sf python-cmd.sh bup-python
+    AC_SUB bup_python "$bup_python"
 fi
 
 if test -z "$(bup_find_prog git '')"; then