From: Sebastian Schuberth Date: Thu, 5 Feb 2015 13:28:04 +0000 (+0100) Subject: check-builtins: strip executable suffix $X when enumerating builtins X-Git-Tag: v2.4.0-rc0~104^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4;p=thirdparty%2Fgit.git 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 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 } |