1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fake.rb.in: suppress warning

* template/fake.rb.in: suppress "useless use of a literal in void
  context" warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-04-12 23:24:33 +00:00
parent 732a26dff7
commit c2d50318a1

View file

@ -1,10 +1,10 @@
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)