Skip to content
Snippets Groups Projects
Unverified Commit 0eac1029 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

scripts/update.sh: fix checkout of correct base commit after fetching

parent 98557891
No related branches found
No related tags found
No related merge requests found
......@@ -16,5 +16,8 @@ for module in $GLUON_MODULES; do
git init
git config commit.gpgsign false
git branch -f base $commit 2>/dev/null || git fetch -f $repo $branch:base
if ! git branch -f base $commit 2>/dev/null; then
git fetch $repo $branch
git branch -f base $commit 2>/dev/null
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment