aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/comment_in_command.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testcase/comment_in_command.mk')
-rw-r--r--testcase/comment_in_command.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcase/comment_in_command.mk b/testcase/comment_in_command.mk
index 881a241..a734bc2 100644
--- a/testcase/comment_in_command.mk
+++ b/testcase/comment_in_command.mk
@@ -1,4 +1,4 @@
-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/')
test1:
# foo