Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 1fe8f2cf461179c41f64efbd1dc0a9fb3b7a0fb1 authored by Junio C Hamano on 31 October 2016, 20:19:53 UTC
Git 2.11-rc0
Tip revision: 1fe8f2c
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