Skip to content

Commit

Permalink
Merge pull request soroco#9 from mkai/patch-2
Browse files Browse the repository at this point in the history
Fixed demo script not compatible with Bash < 4.2 (important for macOS).
  • Loading branch information
theonewolf authored Sep 23, 2018
2 parents 0056c37 + 56bc633 commit 84a5f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ YELLOW='\033[1;33m'
GRAY='\033[1;30m'
RESET='\033[0m'

if [ -v "PYTHON" ]
if [ -n "${PYTHON+x}" ]
then
printf "${GRAY}Using Python: ${PYTHON}\n"
else
Expand Down

0 comments on commit 84a5f1f

Please sign in to comment.