Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,7 +18,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

Expand Down