summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xgit-sonar3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ef233c9..95538ac 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ all:
install: $(SOURCE)
@echo 'Installing in' $(PREFIX)/bin '...'
mkdir -p $(PREFIX)/bin
- cp $(PWD)/$(SOURCE) $(PREFIX)/bin
+ install -m 755 $(SOURCE) $(PREFIX)/bin
develop: $(SOURCE)
@echo 'Symlinking in' $(PREFIX)/bin '...'
diff --git a/git-sonar b/git-sonar
index a6fc57a..f957b73 100755
--- a/git-sonar
+++ b/git-sonar
@@ -4,6 +4,8 @@
#
# A heads up display for git
+GIT_SONAR_VERSION="v0.8.1"
+
################################################################################
# Original sonar-base
################################################################################
@@ -537,6 +539,7 @@ usage() {
_local_diverged="\033[1;33m⇵\033[0m"
_stash="\033[1;33m≡\033[0m"
echo "git-sonar - a heads up display for git"
+ echo " $GIT_SONAR_VERSION"
echo ""
echo "examples:"
echo -ne " $_git$_master$_endgit"