Skip to content

Commit

Permalink
more robust pinning to correct version of python/pip binaries using `…
Browse files Browse the repository at this point in the history
…find`
  • Loading branch information
maltfield committed Sep 16, 2020
1 parent 657d12d commit 6b2cf3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/mac/buildDmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ ls -lah /usr/local/Cellar/[email protected]/3.7.8_1
ls -lah /usr/local/Cellar/[email protected]
find /usr/local/Cellar/[email protected]

PYTHON_PATH='/usr/local/Cellar/[email protected]/3.7.8_1/bin/python3'
PIP_PATH='/usr/local/Cellar/[email protected]/3.7.8_1/bin/pip3'
PYTHON_PATH="`find /usr/local/Cellar/[email protected] -type f -name python3.7 | head -n1`"
PIP_PATH="`find /usr/local/Cellar/[email protected] -type f -name pip3.7 | head -n1`"
APP_NAME='helloWorld'

PYTHON_VERSION="`${PYTHON_PATH} --version | cut -d' ' -f2`"
Expand Down

0 comments on commit 6b2cf3d

Please sign in to comment.