19 lines
479 B
Bash
Executable File
19 lines
479 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#General modules should be set to their versions
|
|
git reset --hard
|
|
#git submodule foreach -q --recursive 'git reset --hard'
|
|
#git submodule update --init --recursive --force
|
|
#git submodule update --init --remote --recursive --force TeaSpeak
|
|
|
|
cd TeaSpeak
|
|
echo "Building TeaSpeak at version $(git rev-parse HEAD)"
|
|
cd ..
|
|
|
|
echo "uPDATING submodules"
|
|
git submodule update --init --recursive
|
|
[[ $? -ne 0 ]] && {
|
|
echo "Failed to update submodules. Aborting"
|
|
exit 1
|
|
}
|