diff options
-rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -7,9 +7,9 @@ export ghprbCommentBody= # resolve python-version to use if [ "$PYTHON" == "" ] ; then - if ! PYTHON=$(command -v python2.7 || command -v python2 || command -v python) + if ! PYTHON=$(command -v python3 || command -v python2 || command -v python) then - echo "Unable to locate build-dependency python2.x!" 1>&2 + echo "Unable to locate build-dependency python!" 1>&2 exit 1 fi fi @@ -17,7 +17,7 @@ fi # useful in case of explicitly set option. if ! command -v $PYTHON > /dev/null then - echo "Unable to locate build-dependency python2.x ($PYTHON)!" 1>&2 + echo "Unable to locate build-dependency python ($PYTHON)!" 1>&2 exit 1 fi |