Commit 93790ac3 authored by Nico's avatar Nico

Fix detection whether Gluon version has already been forked

parent 841f8dad
......@@ -21,7 +21,7 @@ git remote add upstream "$gluon_upstream_git_url"
git fetch upstream --tags
# we already have this branch - exit
if ! git rev-parse --verify "$fork_newest_minor_branch" &> /dev/null; then
if ! git rev-parse --verify "remotes/origin/$fork_newest_minor_branch" &> /dev/null; then
echo "Nothing todo, branch $fork_newest_minor_branch already exists"
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment