summaryrefslogtreecommitdiff
path: root/check-builtins.sh
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2015-02-05 13:28:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-02-05 20:03:27 (GMT)
commit8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4 (patch)
tree0879119e13b4b61eaa34cf0cec73a2c492e833f6 /check-builtins.sh
parent282616c72d1d08a77ca4fe1186cb708c38408d87 (diff)
downloadgit-8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4.zip
git-8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4.tar.gz
git-8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4.tar.bz2
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>
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 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
} |