summaryrefslogtreecommitdiff
path: root/app-admin/github-backup-utils/files/github-backup-utils-python27.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/github-backup-utils/files/github-backup-utils-python27.patch')
-rw-r--r--app-admin/github-backup-utils/files/github-backup-utils-python27.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/files/github-backup-utils-python27.patch b/app-admin/github-backup-utils/files/github-backup-utils-python27.patch
new file mode 100644
index 000000000000..c305b688ceca
--- /dev/null
+++ b/app-admin/github-backup-utils/files/github-backup-utils-python27.patch
@@ -0,0 +1,13 @@
+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