Source $HOME/.toci before sourcing toci-defaults
This fixes an issue where if you had a custom TOCI_WORKING_DIR set you would get errors in your PATH (which is defined via toci-defaults). Change-Id: I2198a3dec007500dd4cd9bbed11c394f4f2232c3
This commit is contained in:
parent
d23a3e4eed
commit
6ef97e495a
2
toci.sh
2
toci.sh
|
@ -3,9 +3,9 @@
|
|||
export TOCI_SOURCE_DIR=$(realpath $(dirname $0))
|
||||
|
||||
# setup toci env variables
|
||||
[ -e ~/.toci ] && source ~/.toci # your local toci env setup
|
||||
source $TOCI_SOURCE_DIR/toci-defaults # defaults for env variables toci expects
|
||||
[ -e $TOCI_SOURCE_DIR/tocirc ] && source $TOCI_SOURCE_DIR/tocirc # env variables you may want to setup for this run
|
||||
[ -e ~/.toci ] && source ~/.toci # your local toci env setup
|
||||
|
||||
. $TOCI_SOURCE_DIR/toci_functions.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue