Change how we detect if git flow is init.
This commit is contained in:
parent
3e2a516b94
commit
b98d57c9c8
1 changed files with 2 additions and 2 deletions
|
|
@ -80,8 +80,8 @@ if [[ ! -d ${buildToolsPath} ]]; then
|
|||
fi
|
||||
|
||||
# Check if git flow is enabled
|
||||
git flow config >/dev/null 2>&1
|
||||
if [[ $? == 0 ]]
|
||||
gitFlowDevelop=`git config gitflow.branch.develop`
|
||||
if [[ ${gitFlowDevelop} != "" ]]
|
||||
then
|
||||
printf "Git flow is initialized\n"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue