diff --git a/tools/mac_setup.sh b/tools/mac_setup.sh index 4b7d73a7e..19cb98653 100755 --- a/tools/mac_setup.sh +++ b/tools/mac_setup.sh @@ -53,7 +53,8 @@ if [ -z "$OPENPILOT_ENV" ] && [ -n "$RC_FILE" ] && [ -z "$CI" ]; then OP_DIR=$(git rev-parse --show-toplevel) echo "export PATH=\"\$PATH:$HOME/.cargo/bin\"" >> $RC_FILE echo "source $OP_DIR/tools/openpilot_env.sh" >> $RC_FILE - source $RC_FILE + export PATH="$PATH:\"\$HOME/.cargo/bin\"" + source "$OP_DIR/tools/openpilot_env.sh" echo "Added openpilot_env to RC file: $RC_FILE" fi @@ -64,3 +65,8 @@ eval "$(pyenv init -)" pip install pipenv==2020.8.13 pipenv install --system --deploy + +echo +echo "---- FINISH OPENPILOT SETUP ----" +echo "Configure your active shell env by running:" +echo "source $RC_FILE" \ No newline at end of file