Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 6ceb270ce6f65cf4bc2a22830f96e0cc838b3fec authored by Junio C Hamano on 19 April 2011, 18:51:00 UTC
Git 1.7.5-rc3
Tip revision: 6ceb270
check_bindir
#!/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
back to top