Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

Commit

Permalink
recursive install == bad
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 19, 2011
1 parent 2847dac commit 5016961
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions bin/git-extras
Expand Up @@ -13,10 +13,15 @@ update() {
&& echo "... updated git-extras $VERSION -> $(git extras --version)"
}

test "$INSTALL" = "y" && update && exit

case "$1" in
-v|--version) echo $VERSION && exit 0 ;;
update) update ;;
*) man git-extras ;;
-v|--version)
echo $VERSION && exit 0
;;
update)
update
;;
*)
test "$INSTALL" = "y" && update && exit
man git-extras
;;
esac

0 comments on commit 5016961

Please sign in to comment.