tools/setup: use OP_ROOT in cd (#22600)

This commit is contained in:
Minjie Xu 2021-10-18 18:51:20 +01:00 committed by GitHub
parent 94b3d4d267
commit a9672eabf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ if ! command -v "pyenv" > /dev/null 2>&1; then
fi
# in the openpilot repo
cd $HOME/openpilot
cd $OP_ROOT
source ~/.bashrc
if [ -z "$OPENPILOT_ENV" ]; then