Merge pull request #141 from moranjk/develop
fixed malformed if statement
Thanks, James.
diff --git a/contrib/gitflow-installer.sh b/contrib/gitflow-installer.sh
index bb803f4..0e92ffc 100644
--- a/contrib/gitflow-installer.sh
+++ b/contrib/gitflow-installer.sh
@@ -50,7 +50,7 @@
;;
*)
echo "Installing git-flow to $INSTALL_PREFIX"
- if [[ -d "$REPO_NAME" && -d "$REPO_NAME/.git" ]] ; then
+ if [ -d "$REPO_NAME" -a -d "$REPO_NAME/.git" ] ; then
echo "Using existing repo: $REPO_NAME"
else
echo "Cloning repo from GitHub to $REPO_NAME"