Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #141 from moranjk/develop

fixed malformed if statement

Thanks, James.
  • Loading branch information...
commit be5dabf88e98075b9bc936bfa7de0f54a21a0482 2 parents 7c7dc35 + 0c32062
@nvie nvie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  contrib/gitflow-installer.sh
View
2  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"
Please sign in to comment.
Something went wrong with that request. Please try again.