Skip to content
Permalink
Browse files

cgru: POSIX way for equality (work for zsh and bash)

  • Loading branch information...
predat committed Jan 17, 2017
1 parent 63d1ff0 commit 3bc77808ed2e067be6f95d39e023ab26de6a556b
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup_python.sh
@@ -12,7 +12,7 @@ if [ -z "${CGRU_PYTHONEXE}" ]; then
[ -x "${pythonexe}" ] && export CGRU_PYTHONEXE="${python}/bin/python3"
else
which python3 >& /dev/null
[ "$?" == "0" ] && export CGRU_PYTHONEXE="python3"
[ "$?" = "0" ] && export CGRU_PYTHONEXE="python3"
fi
fi

0 comments on commit 3bc7780

Please sign in to comment.
You can’t perform that action at this time.