summaryrefslogtreecommitdiff
path: root/check_bindir
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-07-01 15:21:40 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-07-01 15:21:40 -0700
commit605acb6d0dd9dba21f2b11dfe8772d7718b881a6 (patch)
tree71c8237ee5d89c6023a67def3a882b482c6a88fd /check_bindir
parentMerge branch 'maint' (diff)
parentKeep some git-* programs in $(bindir) (diff)
downloadtgif-605acb6d0dd9dba21f2b11dfe8772d7718b881a6.tar.xz
Merge branch 'nd/dashless'
* nd/dashless: Keep some git-* programs in $(bindir) Move all dashed-form commands to libexecdir
Diffstat (limited to 'check_bindir')
-rwxr-xr-xcheck_bindir13
1 files changed, 13 insertions, 0 deletions
diff --git a/check_bindir b/check_bindir
new file mode 100755
index 0000000000..a1c4c3e8d8
--- /dev/null
+++ b/check_bindir
@@ -0,0 +1,13 @@
+#!/bin/sh
+bindir="$1"
+gitexecdir="$2"
+gitcmd="$3"
+if test "$bindir" != "$gitexecdir" -a -x "$gitcmd"
+then
+ echo
+ echo "!! You have installed git-* commands to new gitexecdir."
+ echo "!! Old version git-* commands still remain in bindir."
+ echo "!! Mixing two versions of Git will lead to problems."
+ echo "!! Please remove old version commands in bindir now."
+ echo
+fi