Permalink
Browse files

fixed malformed if statement

  • Loading branch information...
1 parent 7c7dc35 commit 0c3206201ad720a11131188399a22c93b0a44974 James Moran committed Jul 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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"

0 comments on commit 0c32062

Please sign in to comment.