summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-10-18 12:19:39 +0530
committerNiels de Vos <ndevos@redhat.com>2016-10-19 00:09:49 -0700
commitfd045aefbd2ea8315f76e6659753ebd1d7b6d801 (patch)
treec962b110ea1ffaa3918cc5892dc5f2da40c3344b /configure.ac
parent5ab0b43ce67d8d131242542a80b6aa6b129ed5ee (diff)
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8aa07ffbeb9..2e7212a83ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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