Staging
v0.5.1
Revision 5d417842efeafb6e109db7574196901c4e95d273 authored by Junio C Hamano on 31 December 2012, 22:24:22 UTC, committed by Junio C Hamano on 31 December 2012, 22:25:57 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3b73c7d
Raw File
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