Use git pull with rebase in build script

Without rebase, the build script would stop because it
couldn't complete a merge.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Henrik Brautaset Aronsen 2015-07-12 14:42:18 +02:00 committed by Dirk Hohndel
parent c41fd91261
commit 2847fb4af5

View file

@ -110,7 +110,7 @@ if [ ! -d libdivecomputer ] ; then
fi
fi
cd libdivecomputer
git pull
git pull --rebase
if ! git checkout Subsurface-testing ; then
echo "can't check out the Subsurface-testing branch of libdivecomputer -- giving up"
exit 1
@ -134,7 +134,7 @@ if [ ! -d marble-source ] ; then
fi
fi
cd marble-source
git pull
git pull --rebase
if ! git checkout Subsurface-testing ; then
echo "can't check out the Subsurface-testing branch of marble -- giving up"
exit 1