Skip to content

Commit 8c1e9f4

Browse files
sschuberthgitster
authored andcommitted
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>
1 parent 282616c commit 8c1e9f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

check-builtins.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
cat <<\EOF
55
sayIt:
6-
$(foreach b,$(BUILT_INS),echo XXX $b YYY;)
6+
$(foreach b,$(BUILT_INS),echo XXX $(b:$X=) YYY;)
77
EOF
88
cat Makefile
99
} |

0 commit comments

Comments
 (0)