https://github.com/git/git
Raw File
Tip revision: f900c8326a43303685c46b279b9f70411bff1a4b authored by Junio C Hamano on 15 December 2015, 17:47:11 UTC
Git 2.7-rc1
Tip revision: f900c83
check_bindir
#!/bin/sh
bindir="$1"
gitexecdir="$2"
gitcmd="$3"
if test "$bindir" != "$gitexecdir" && test -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
back to top