Change how we detect if git flow is init.

This commit is contained in:
Benoit Marty 2023-07-20 19:40:57 +02:00
parent 1bc80a526c
commit aa26959748

View file

@ -80,8 +80,8 @@ if [[ ! -d ${buildToolsPath} ]]; then
fi fi
# Check if git flow is enabled # Check if git flow is enabled
git flow config >/dev/null 2>&1 gitFlowDevelop=`git config gitflow.branch.develop`
if [[ $? == 0 ]] if [[ ${gitFlowDevelop} != "" ]]
then then
printf "Git flow is initialized\n" printf "Git flow is initialized\n"
else else