From 8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 5 Feb 2015 14:28:04 +0100 Subject: [PATCH] check-builtins: strip executable suffix $X when enumerating builtins On Windows, the builtin executable names are suffixed with $X. Signed-off-by: Sebastian Schuberth Signed-off-by: Junio C Hamano --- check-builtins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-builtins.sh b/check-builtins.sh index 07cff69d8e..a0aaf3a347 100755 --- a/check-builtins.sh +++ b/check-builtins.sh @@ -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 } |