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:
parent
5ab0b43ce6
commit
fd045aefbd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user