From 8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 5 Feb 2015 14:28:04 +0100 Subject: 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 diff --git a/check-builtins.sh b/check-builtins.sh index 07cff69..a0aaf3a 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 } | -- cgit v0.10.2-6-g49f6