Skip to content

Commit

Permalink
check-builtins: strip executable suffix $X when enumerating builtins
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sschuberth authored and gitster committed Feb 5, 2015
1 parent 282616c commit 8c1e9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-builtins.sh
Expand Up @@ -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
} |
Expand Down

0 comments on commit 8c1e9f4

Please sign in to comment.