Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 8ced8e40ac07c1b13b2edbb459d37b9b2d7275d6 authored by Junio C Hamano on 20 May 2014, 19:07:35 UTC
Git 2.0-rc4
Tip revision: 8ced8e4
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