You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/github-backup-utils/files/github-backup-utils-python2...

14 lines
497 B

diff --git a/test/bin/python b/test/bin/python
index c79b0a4..a9c2991 100755
--- a/test/bin/python
+++ b/test/bin/python
@@ -18,7 +18,7 @@ cat >/dev/null
# verify the python compiles at least. if this fails then the python code passed
# to -c failed basic syntax checks.
echo "$2" |
-/usr/bin/python -c "import sys; __import__('compiler').parse(sys.stdin.read())"
+/usr/bin/python2.7 -c "import sys; __import__('compiler').parse(sys.stdin.read())"
# pretend we found zero processes.
echo 0