Permalink
Browse files

add version option

  • Loading branch information...
1 parent 8d88b30 commit 0ca83221b83e31b33586ff4157d4bc91b69908be Takahiro Hozumi committed Feb 28, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/visugit
View
@@ -46,9 +46,9 @@ if type -p curl >/dev/null 2>&1; then
HTTP_CLIENT="curl --insecure -f -L -o"
fi
-# If you're packaging this for a package manager (.deb, homebrew, etc)
-# you need to remove the self-install and upgrade functionality.
-if [ "$1" = "self-install" ]; then
+if [ "$1" = "version" ]; then
+ echo "visugit version is $VISUGIT_VERSION"
+elif [ "$1" = "self-install" ]; then
echo "Downloading Visugit now..."
VISUGIT_DIR=`dirname "$VISUGIT_JAR"`
mkdir -p "$VISUGIT_DIR"

0 comments on commit 0ca8322

Please sign in to comment.