summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-06-03 22:00:14 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-06-03 22:01:06 +0900
commit928377d2c5153333445d58710534b471042ffb46 (patch)
tree24f47842c0ede525947c0c224095b2150a2c1444 /common.mk
parent1b2b0e1f244b3e71812fa9859e8b87150ea30434 (diff)
Revert "common.mk: allow brace expansion for benchmark targets"
This reverts commit 4c0e21add7c87b70df27fbff81d8f192a467556d because we're not using /bin/bash. See 11d3986d6557eb3cfcecbdd0ef6e21b18c7c960b and 1b2b0e1f244b3e71812fa9859e8b87150ea30434 to know its context. In short, 4c0e21add7c87b70df27fbff81d8f192a467556d does not work on Ubuntu.
Diffstat (limited to 'common.mk')
-rwxr-xr-xcommon.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 58520a33c3..c94d8c6f09 100755
--- a/common.mk
+++ b/common.mk
@@ -1165,7 +1165,7 @@ bisect-ruby: PHONY
COMPARE_RUBY = $(BASERUBY)
BENCH_RUBY = $(RUNRUBY)
ITEM =
-ARGS = $$(ls $(srcdir)/benchmark/*$(ITEM)*.{yml,rb} 2>/dev/null)
+ARGS = $$(find $(srcdir)/benchmark -maxdepth 1 -name '*$(ITEM)*.yml' -o -name '*$(ITEM)*.rb' | sort)
OPTS =
# You can pass several options through OPTS environment variable.