summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-12 23:24:33 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-12 23:24:33 (GMT)
commitc2d50318a1e522b5d51159e660ff3a53240de859 (patch)
treef0b215e5a373c9e6664751e23de77d68c9bf3e46 /template
parent732a26dff70af02d4b863bb5ac326041011b7134 (diff)
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
Diffstat (limited to 'template')
-rw-r--r--template/fake.rb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/fake.rb.in b/template/fake.rb.in
index 8b82d0e..01b0bdb 100644
--- a/template/fake.rb.in
+++ b/template/fake.rb.in
@@ -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)