This commit is contained in:
BlubbFish 2021-05-24 01:30:13 +02:00
commit c54a50c63c
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit ac1d7a5737fa6358665cc32eaf87d390cf78810e
Subproject commit 1da51e3cef308f135a295eeba44c3cea58f062b8

View File

@ -26,7 +26,8 @@ function look_for_update() {
echo "Checkout master for $1"
git submodule update --init -- "$1"
cd "$1"
git checkout master
defaultbranch=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
git checkout "$defaultbranch"
fi
fi
}