fixed build script
This commit is contained in:
+3
-11
@@ -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}'
|
||||
Reference in New Issue
Block a user