summaryrefslogtreecommitdiffstats
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 21:03:27 +0100
commit8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4 (patch)
tree0879119e13b4b61eaa34cf0cec73a2c492e833f6 /check-builtins.sh
parentMerge branch 'maint-1.9' into maint-2.0 (diff)
downloadgit-8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4.tar.xz
git-8c1e9f40f9de3ce0cddf4ff43c41cb47d3d50ba4.zip
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 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
} |