From 0c3206201ad720a11131188399a22c93b0a44974 Mon Sep 17 00:00:00 2001 From: James Moran Date: Tue, 26 Jul 2011 10:39:35 -0400 Subject: [PATCH] fixed malformed if statement --- contrib/gitflow-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gitflow-installer.sh b/contrib/gitflow-installer.sh index bb803f4c1..0e92ffcef 100644 --- a/contrib/gitflow-installer.sh +++ b/contrib/gitflow-installer.sh @@ -50,7 +50,7 @@ case "$1" in ;; *) 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"