Sim: fix openpilot directory (#29754)

fix simulator
old-commit-hash: a774809fdb8adbf71546ff7a16206e7bb316691c
This commit is contained in:
Justin Newberry
2023-09-01 16:02:57 -07:00
committed by GitHub
parent 514bb60932
commit bd78ec0bce

View File

@@ -3,7 +3,7 @@
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
OPENPILOT_DIR="/openpilot"
OPENPILOT_DIR="/tmp/openpilot"
if ! [[ -z "$MOUNT_OPENPILOT" ]]; then
OPENPILOT_DIR="$(dirname $(dirname $DIR))"
EXTRA_ARGS="-v $OPENPILOT_DIR:$OPENPILOT_DIR -e PYTHONPATH=$OPENPILOT_DIR:$PYTHONPATH"