summaryrefslogtreecommitdiff
path: root/check-builtins.sh
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2015-02-05 14:28:04 +0100
committerJunio C Hamano <gitster@pobox.com>2015-02-05 12:03:27 -0800
commit8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4 (patch)
tree0879119e13b4b61eaa34cf0cec73a2c492e833f6 /check-builtins.sh
parent282616c72d1d08a77ca4fe1186cb708c38408d87 (diff)
downloadgit-8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4.tar.gz
check-builtins: strip executable suffix $X when enumerating builtinsss/check-builtins-on-windows
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>
Diffstat (limited to 'check-builtins.sh')
-rwxr-xr-xcheck-builtins.sh2
1 files changed, 1 insertions, 1 deletions
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
} |