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:
parent
282616c72d
commit
8c1e9f40f9
@ -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
|
||||||
} |
|
} |
|
||||||
|
Loading…
Reference in New Issue
Block a user