Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: f3f778df6900881a7bac409c927931c32b82bcb5 authored by Junio C Hamano on 28 December 2011, 19:49:09 UTC
Git 1.7.8.2
Tip revision: f3f778d
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