gdl/gdl-0.9pre3-python25.patch
2006-12-18 22:52:47 +00:00

12 lines
607 B
Diff

--- gdl-0.9pre3/configure.python25 2006-11-22 07:58:06.000000000 -0700
+++ gdl-0.9pre3/configure 2006-12-18 14:01:50.000000000 -0700
@@ -20135,7 +20135,7 @@
queryfile=$ac_confdir/query_version.py
echo # tmp file auto (re)generated by GDL configure. Please delete > $queryfile
echo import sys >> $queryfile
- echo print sys.version.split\(\'.\'\)\[0\]+\".\"+sys.version.split\(\'.\'\)\[1\] >> $queryfile
+ echo print sys.version.split\(\)\[0\].split\(\'.\'\)\[0\]+\".\"+sys.version.split\(\)\[0\].split\(\'.\'\)\[1\] >> $queryfile
PYTHON_VERSION=`python $queryfile`
rm $queryfile
fi