Skip to content

Commit

Permalink
Merge pull request nvie#141 from moranjk/develop
Browse files Browse the repository at this point in the history
fixed malformed if statement

Thanks, James.
  • Loading branch information
nvie committed Jul 27, 2011
2 parents 7c7dc35 + 0c32062 commit be5dabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/gitflow-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit be5dabf

Please sign in to comment.