Skip to content

Commit

Permalink
absolute path all the time
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Dec 29, 2021
1 parent 87f271a commit c0bc2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/openpilot_env.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [ -z "$OPENPILOT_ENV" ]; then
OP_ROOT="$(dirname "$(dirname "${BASH_SOURCE[0]}")")"
OP_ROOT="$(dirname "$(dirname "$(realpath -s "$0")")")"
export PYTHONPATH="$OP_ROOT:$PYTHONPATH"
export PATH="$HOME/.pyenv/bin:$PATH"

Expand Down

0 comments on commit c0bc2e0

Please sign in to comment.