aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/wildcard_cache.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testcase/wildcard_cache.mk')
-rw-r--r--testcase/wildcard_cache.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcase/wildcard_cache.mk b/testcase/wildcard_cache.mk
index 83ba3db..957e4c2 100644
--- a/testcase/wildcard_cache.mk
+++ b/testcase/wildcard_cache.mk
@@ -1,7 +1,7 @@
# TODO(c): Fix this. Maybe $(wildcard) always runs at eval-phase.
# GNU make 4 agrees with ckati.
-MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')
+MAKEVER:=$(shell make --version | grep "Make [0-9]" | sed -E 's/.*Make ([0-9]).*/\1/')
ifeq ($(MAKE)$(MAKEVER),make4)
$(error test skipped)
endif