From 3a3fe482b7c30c7feaefaadf7d61d2f580272764 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 17 Jul 2019 19:53:08 +0200 Subject: [PATCH] Updated script --- attach_modules.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/attach_modules.sh b/attach_modules.sh index 17799d6..1df5526 100755 --- a/attach_modules.sh +++ b/attach_modules.sh @@ -1,8 +1,10 @@ #!/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 +#git submodule update --init --remote --recursive --force TeaSpeak #The libs have no need to be attach to the master :) cd TeaSpeak @@ -15,4 +17,4 @@ if [ -z ${BRANCH} ]; then fi git checkout ${BRANCH}; echo "git pull origin ${BRANCH}" -git pull origin ${BRANCH}' \ No newline at end of file +git pull origin ${BRANCH}'