Skip to content
This repository
Browse code

Merge pull request #141 from moranjk/develop

fixed malformed if statement

Thanks, James.
  • Loading branch information...
commit be5dabf88e98075b9bc936bfa7de0f54a21a0482 2 parents 7c7dc35 + 0c32062
Vincent Driessen authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  contrib/gitflow-installer.sh
2  contrib/gitflow-installer.sh
@@ -50,7 +50,7 @@ case "$1" in
50 50 ;;
51 51 *)
52 52 echo "Installing git-flow to $INSTALL_PREFIX"
53   - if [[ -d "$REPO_NAME" && -d "$REPO_NAME/.git" ]] ; then
  53 + if [ -d "$REPO_NAME" -a -d "$REPO_NAME/.git" ] ; then
54 54 echo "Using existing repo: $REPO_NAME"
55 55 else
56 56 echo "Cloning repo from GitHub to $REPO_NAME"

0 comments on commit be5dabf

Please sign in to comment.
Something went wrong with that request. Please try again.