From eb2f43a5a51e966612dffe7253173e35500098a3 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 4 Sep 2015 15:27:02 +0000 Subject: fake.rb: suppress warning * tool/fake.rb: get rid of use of uninitialized global variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/fake.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/fake.rb b/tool/fake.rb index d7460e2f85..06f730288a 100644 --- a/tool/fake.rb +++ b/tool/fake.rb @@ -6,7 +6,7 @@ class File end end -static = !!$static +static = !!(defined?($static) && $static) $:.unshift(builddir) posthook = proc do config = RbConfig::CONFIG -- cgit v1.2.3