ruby-changes:38197
From: nobu <ko1@a...>
Date: Mon, 13 Apr 2015 08:32:38 +0900 (JST)
Subject: [ruby-changes:38197] nobu:r50278 (trunk): fake.rb.in: suppress warning
nobu 2015-04-13 08:24:33 +0900 (Mon, 13 Apr 2015) New Revision: 50278 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50278 Log: fake.rb.in: suppress warning * template/fake.rb.in: suppress "useless use of a literal in void context" warning. Modified files: trunk/template/fake.rb.in Index: template/fake.rb.in =================================================================== --- template/fake.rb.in (revision 50277) +++ template/fake.rb.in (revision 50278) @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/template/fake.rb.in#L1 baseruby="@BASERUBY@" ruby="${RUBY-$baseruby}" +_= "eval" "{" \ "`expr \"$ruby\" : echo > /dev/null || echo exec`" \ "$ruby" '-r"`expr \"$0\" : / > /dev/null || pwd`/${0#/}" "$@";' \ "}" || "exit" "$?" -baseruby=baseruby ruby=ruby class Object remove_const :CROSS_COMPILING if defined?(CROSS_COMPILING) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/