Makefile: remove the check_bindir script

This script was added in f28ac70f48 (Move all dashed-form commands to libexecdir, 2007-11-28) when commands such as "git-add" lived in the bin directory, instead of the git exec directory. This notice helped someone incorrectly installing version v1.6.0 and later into a directory built for a pre-v1.6.0 git version. We're now long past the point where anyone who'd be helped by this warning is likely to be doing that, so let's just remove this check and warning to simplify the Makefile. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Sep 6, 2021 at 09:55 UTC 72b113e5621febe5d5138f73e464a4962b3b7851
2 files changed +1 -15
Makefile
+1 -2
@@ -3090,8 +3090,7 @@ endif
3090 ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
3091 ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \
3092 cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; } \
3093 - done && \
3094 - ./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X"
3093 + done
3094
3095 .PHONY: install-gitweb install-doc install-man install-man-perl install-html install-info install-pdf
3096 .PHONY: quick-install-doc quick-install-man quick-install-html
check_bindir deleted
-13
@@ -1,13 +0,0 @@
1 -#!/bin/sh
2 -bindir="$1"
3 -gitexecdir="$2"
4 -gitcmd="$3"
5 -if test "$bindir" != "$gitexecdir" && test -x "$gitcmd"
6 -then
7 - echo
8 - echo "!! You have installed git-* commands to new gitexecdir."
9 - echo "!! Old version git-* commands still remain in bindir."
10 - echo "!! Mixing two versions of Git will lead to problems."
11 - echo "!! Please remove old version commands in bindir now."
12 - echo
13 -fi