20 lines
486 B
Bash
Executable File
20 lines
486 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
|
|
}
|
|
exit 0
|