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>
Sebastian Schuberth committed
Feb 5, 2015 at 14:28 UTC
8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4
1 file changed
+1
-1
check-builtins.sh
+1
-1
@@ -3,7 +3,7 @@
3
{
4
cat <<\EOF
5
sayIt:
6
- $(foreach b,$(BUILT_INS),echo XXX $b YYY;)
6
+ $(foreach b,$(BUILT_INS),echo XXX $(b:$X=) YYY;)
7
EOF
8
cat Makefile
9
} |