This commit is contained in:
2021-05-24 01:30:13 +02:00
2 changed files with 3 additions and 2 deletions
+1 -1
Submodule Arduino updated: ac1d7a5737...1da51e3cef
+2 -1
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
}