DevinLeamy commented on code in PR #497:
URL: https://github.com/apache/mesos/pull/497#discussion_r1499365053
##########
configure.ac:
##########
@@ -2502,14 +2502,14 @@ if test "x$enable_python" = "xyes" || \
AC_MSG_ERROR([only specify one of PYTHON or PYTHON_VERSION])
fi
- if test -n "$PYTHON"; then
- PYTHON_VERSION=`$PYTHON -c "import sys;
sys.stdout.write(sys.version[[:3]])"`
- fi
-
if test -n "$PYTHON_VERSION"; then
AC_SUBST([PYTHON], [python$PYTHON_VERSION])
fi
+ if test -n "$PYTHON"; then
+ PYTHON_VERSION=`$PYTHON -c "import sys;
sys.stdout.write(sys.version[[:3]])"`
+ fi
+
Review Comment:
Converted it into an "else if".
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]