1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-04-23 12:35:10 +02:00

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
sayIt:
$(foreach b,$(BUILT_INS),echo XXX $b YYY;)
$(foreach b,$(BUILT_INS),echo XXX $(b:$X=) YYY;)
EOF
cat Makefile
} |