Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
git/check_bindir
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
13 lines (13 sloc)
374 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |