Skip to content

Commit

Permalink
Tools: vagrant: check for $HOME/.local/bin on init for local python p…
Browse files Browse the repository at this point in the history
…ackage
  • Loading branch information
khancyr authored and peterbarker committed Apr 30, 2020
1 parent 05f8d76 commit d83b957
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Tools/vagrant/shellinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ export PATH=$PATH:$HOME/jsbsim/build/src
export BUILDLOGS=/tmp/buildlogs

export APMROOT=/vagrant
new=$HOME/.local/bin
case ":${PATH:=$new}:" in
*:"$new":*) ;;
*) if [ -d "$HOME/.local/bin" ] ; then
export PATH="$new:$PATH"
fi ;;
esac

export PATH=$APMROOT/Tools/autotest:$PATH
export PATH=/usr/lib/ccache:$PATH

Expand Down

0 comments on commit d83b957

Please sign in to comment.