check-builtins: strip executable suffix $X when enumerating builtins

On Windows, the builtin executable names are suffixed with $X.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Sebastian Schuberth 2015-02-05 14:28:04 +01:00 committed by Junio C Hamano
parent 282616c72d
commit 8c1e9f40f9

View File

@ -3,7 +3,7 @@
{ {
cat <<\EOF cat <<\EOF
sayIt: sayIt:
$(foreach b,$(BUILT_INS),echo XXX $b YYY;) $(foreach b,$(BUILT_INS),echo XXX $(b:$X=) YYY;)
EOF EOF
cat Makefile cat Makefile
} | } |