]> arthur.barton.de Git - bup.git/blobdiff - t/root-status
configure: test for functional readline more carefully
[bup.git] / t / root-status
index 69fad4e37fa1943058a852f0bb06dcf78c19d03e..c37806dbd35fede05e66d66485be6b31f9617d48 100755 (executable)
@@ -1,13 +1,12 @@
 #!/bin/sh
 """": # -*-python-*-
-bup_python="$(dirname "$0")/../cmd/bup-python" || exit $?
+bup_python="$(dirname "$0")/../config/bin/python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
 
 from __future__ import absolute_import, print_function
-from sys import stderr
-import sys
+import os, sys
 
 if sys.platform.startswith('cygwin'):
     groups = os.getgroups()
@@ -16,7 +15,6 @@ if sys.platform.startswith('cygwin'):
     else:
         print('none')
 else:
-    import os
     if os.environ.get('FAKEROOTKEY'):
         print('fake')
     else: