Skip to content
Snippets Groups Projects
Unverified Commit 7802e841 authored by Varac's avatar Varac
Browse files

Fix empty branch name

parent 89bfa475
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,11 @@ flux install \
--namespace=flux-system
# get current git branch name
branch=$(git branch --show-current) 2>/dev/null || branch=master
branch=$(git branch --show-current) 2>/dev/null || /bin/true
if [ -z "$branch" ]
then
branch=master
fi
echo "Tracking branch $branch for https://open.greenhost.net/openappstack/openappstack flux repo"
flux create source git openappstack \
......
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