Skip to content

Commit

Permalink
fixed malformed if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
James Moran committed Jul 26, 2011
1 parent 7c7dc35 commit 0c32062
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 0c32062

Please sign in to comment.