pull latest version before building develop

This commit is contained in:
Enno Rehling 2015-06-28 13:38:13 +02:00
parent 59b0c7b957
commit 7934917607
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ assert_dir $SOURCE
cd $SOURCE cd $SOURCE
git fetch || abort "failed to update source. do you have local changes?" git fetch || abort "failed to update source. do you have local changes?"
[ -z $1 ] || git checkout $1 [ -z $1 ] || git checkout $1
git pull
git submodule update git submodule update
s/build || abort "build failed." s/build || abort "build failed."
} }