diff --git a/install-standalone.sh b/install-standalone.sh index ee216d8785..9300ac25fb 100644 --- a/install-standalone.sh +++ b/install-standalone.sh @@ -17,11 +17,6 @@ echoerr() { echo "\$@" 1>&2; } - if [[ ! ":\$PATH:" == *":/usr/local/bin:"* ]]; then - echoerr "Your path is missing /usr/local/bin, you need to add this to use this installer." - exit 1 - fi - if [ "\$(uname)" == "Darwin" ]; then OS=darwin elif [ "\$(expr substr \$(uname -s) 1 5)" == "Linux" ]; then @@ -41,6 +36,11 @@ exit 1 fi + if [[ ! ":\$PATH:" == *":/usr/local/bin:"* ]]; then + echoerr "Your path is missing /usr/local/bin, you need to add this to use this installer." + exit 1 + fi + mkdir -p /usr/local/lib cd /usr/local/lib rm -rf heroku