summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a24a7251..0468f6d2 100755
--- a/configure
+++ b/configure
@@ -19983,7 +19983,7 @@ fi
if $python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))" ; then
PyVersion=`$python_prog -c "import distutils.sysconfig ; print(distutils.sysconfig.get_config_var('VERSION'))"`
PyMajorVersion=`echo $PyVersion |sed -e 's/\..*//'`
- PySubVersion=`echo $PyVersion |sed -e 's/\(2\|3\)\.//'`
+ PySubVersion=`echo $PyVersion |sed -e 's/2\.//' -e 's/3\.//'`
PyName="python$PyVersion"
if test "$PySubVersion" = "" ; then
python="no"