Permalink
Browse files

Fixed one line that I left out by mistake: python -> $PY.

  • Loading branch information...
1 parent d9933ec commit b958a33640b25593a8372869f84b8e18e872e214 Hwasung Lee committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 build-support/python/setup.sh
@@ -17,7 +17,7 @@ if [ ! $PY ]; then
fi
# Get Python version. For example, Python 2.7.1 -> 27
-py_version=$(python --version 2>&1 | awk -F' ' '{ print $2 }' | awk -F. '{ print $1$2 }')
+py_version=$($PY --version 2>&1 | awk -F' ' '{ print $2 }' | awk -F. '{ print $1$2 }')
if [ "${py_version}" -lt 26 ]; then
echo 'Python interpreter needs to be version 2.6+.'
exit 2

0 comments on commit b958a33

Please sign in to comment.