build: Avoid printing python version to stdout discovered during configure

Change-Id: I1e0d0dd462cd8fa6d3ce40850099e8a019d754de
BUG: 1198849
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-on: http://review.gluster.org/15666
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Niels de Vos <ndevos@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
This commit is contained in:
Anoop C S 2016-10-18 12:19:39 +05:30 committed by Niels de Vos
parent 5ab0b43ce6
commit fd045aefbd

View File

@ -542,7 +542,7 @@ BUILD_PYTHON_LIB=
have_python2=no
have_Python_h=no
if echo $PYTHON_VERSION | grep ^2; then
if echo $PYTHON_VERSION | grep -q ^2; then
have_python2=yes
dnl Use pkg-config to get runtime search patch missing from ${PYTHON}-config