pull latest version before building develop

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

View File

@ -24,6 +24,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."
} }