From a9672eabf490b2088fe32e2ef8e09e18ff41e1b1 Mon Sep 17 00:00:00 2001 From: Minjie Xu Date: Mon, 18 Oct 2021 18:51:20 +0100 Subject: [PATCH] tools/setup: use OP_ROOT in cd (#22600) --- tools/ubuntu_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ubuntu_setup.sh b/tools/ubuntu_setup.sh index 48a3be26e3..c15218ade6 100755 --- a/tools/ubuntu_setup.sh +++ b/tools/ubuntu_setup.sh @@ -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