summaryrefslogtreecommitdiff
path: root/check_bindir
blob: a1c4c3e8d845e8e791d7df0c1387e1b2262b5ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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