update variables | add more repos to commit check

This commit is contained in:
abejgonzalez
2019-07-09 16:31:36 -07:00
parent 4963b607e1
commit f5a3ff3ac5
4 changed files with 19 additions and 5 deletions

View File

@@ -6,9 +6,13 @@
# turn echo on and error on earliest command
set -ex
# get shared variables
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
source $SCRIPT_DIR/defaults.sh
if [ ! -d "$HOME/$1-install" ]; then
cd $HOME
# init all submodules including the tools
CHIPYARD_DIR=$HOME/project ./project/scripts/build-toolchains.sh $1
CHIPYARD_DIR=$LOCAL_CHIPYARD_DIR .$LOCAL_CHIPYARD_DIR/scripts/build-toolchains.sh $1
fi