summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2020-12-11 12:16:16 +0100
committerMarian Csontos <mcsontos@redhat.com>2020-12-11 12:16:16 +0100
commit23ef67776210ad6c55f4dd7475b806337140c513 (patch)
treefd57c460700ed3544789d83550dd3209380d634c /configure
parent5dbe2fdd9dd783c2911a5375d6fdec86118af280 (diff)
downloadlvm2-23ef67776210ad6c55f4dd7475b806337140c513.tar.gz
configure: update
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 29d19f249..4c38cbebb 100755
--- a/configure
+++ b/configure
@@ -11962,7 +11962,7 @@ $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
if ${am_cv_python_version+:} false; then :
$as_echo_n "(cached) " >&6
else
- am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
+ am_cv_python_version=`$PYTHON -c "import sys; print('%u.%u' % sys.version_info[:2])"`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
$as_echo "$am_cv_python_version" >&6; }