diff --git a/build/mac/buildDmg.sh b/build/mac/buildDmg.sh index ef277a01..b6ebdd69 100755 --- a/build/mac/buildDmg.sh +++ b/build/mac/buildDmg.sh @@ -20,8 +20,8 @@ set -x # SETTINGS # ############ -PYTHON_PATH="`find /usr/local/Cellar/python -type f -wholename *bin/python3* | sort -n | uniq | head -n1`" -PIP_PATH="`find /usr/local/Cellar/python -type f -wholename *bin/pip3* | sort -n | uniq | head -n1`" +PYTHON_PATH="`find /usr/local/Cellar/python* -type f -wholename *bin/python3* | sort -n | uniq | head -n1`" +PIP_PATH="`find /usr/local/Cellar/python* -type f -wholename *bin/pip3* | sort -n | uniq | head -n1`" APP_NAME='helloWorld' PYTHON_VERSION="`${PYTHON_PATH} --version | cut -d' ' -f2`"