From 19a189947035c6e6f4785f27032392fa10a017d0 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 21 Feb 2018 08:51:49 +0000 Subject: use `--version`. * benchmark/driver.rb: use `--version` instead of `-v` to get version information. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/driver.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmark') diff --git a/benchmark/driver.rb b/benchmark/driver.rb index 469fc99f40..ac710b8741 100755 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -88,10 +88,10 @@ class BenchmarkDriver # ex) ruby-a::/path/to/ruby-a label = $1.strip path = $2 - version = `#{path} -v`.chomp + version = `#{path} --version`.chomp else path = e - version = label = `#{path} -v`.chomp + version = label = `#{path} --version`.chomp end [path, label, version] }.compact -- cgit v1.2.3