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:
Dan Prince 2013-09-16 11:29:54 -07:00
parent d23a3e4eed
commit 6ef97e495a
1 changed files with 1 additions and 1 deletions

View File

@ -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