commit | 0c3206201ad720a11131188399a22c93b0a44974 | [log] [tgz] |
---|---|---|
author | James Moran <jmoran@jmoran-work.(none)> | 周二 7月 26 10:39:35 2011 -0400 |
committer | James Moran <jmoran@jmoran-work.(none)> | 周二 7月 26 10:39:35 2011 -0400 |
tree | 3f7a37723d77d8fa4b773ef2e012cf623c08413f | |
parent | 7c7dc35c05247d5c5cf51b5bc1e1f0130cdb4a71 [diff] |
fixed malformed if statement
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"