File: 01_python_detection.patch

package info (click to toggle)
gamin 0.1.10-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 3,784 kB
  • ctags: 1,921
  • sloc: ansic: 10,675; sh: 8,915; python: 3,706; xml: 1,303; makefile: 319; awk: 48
file content (15 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=616738

If I say $PYTHON is foo, just use it, kthxbye.

--- a/configure.in
+++ b/configure.in
@@ -467,7 +467,7 @@
 	    echo Found python in $with_python
 	    PYTHON="$with_python"
 	else
-	    if test -x "$PYTHON"
+	    if test -n "$PYTHON"
 	    then
 	        echo Found python in environment PYTHON=$PYTHON
 		with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`