fixed build script

This commit is contained in:
WolverinDEV
2019-05-28 17:49:03 +02:00
parent 3f96804cae
commit e0ab61fa60
4 changed files with 6 additions and 13 deletions
+3 -11
View File
@@ -1,5 +1,7 @@
#!/bin/bash
#The libs have no need to be attach to the master :)
cd TeaSpeak
git submodule foreach -q --recursive '
echo "Updating $name";
BRANCH=$(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)
@@ -8,14 +10,4 @@ if [ -z ${BRANCH} ]; then
fi
git checkout ${BRANCH};
echo "git pull origin ${BRANCH}"
git pull origin ${BRANCH}'
git submodule foreach -q --recursive '
echo "Updating $name";
CHECKOUT=$(git config -f $toplevel/.gitmodules submodule.$name.checkout)
if [ ! -z ${CHECKOUT} ]; then
git checkout ${CHECKOUT};
echo "Checking out ${CHECKOUT} for $name"
fi
'
git pull origin ${BRANCH}'