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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 282616c commit 8c1e9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-builtins.sh

+1-1
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)