ruby-changes:18613
From: nobu <ko1@a...>
Date: Sun, 23 Jan 2011 10:34:57 +0900 (JST)
Subject: [ruby-changes:18613] Ruby:r30637 (trunk): * template/fake.rb.in (ruby): suppress warnings.
nobu 2011-01-23 10:32:57 +0900 (Sun, 23 Jan 2011) New Revision: 30637 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30637 Log: * template/fake.rb.in (ruby): suppress warnings. Modified files: trunk/ChangeLog trunk/template/fake.rb.in Index: ChangeLog =================================================================== --- ChangeLog (revision 30636) +++ ChangeLog (revision 30637) @@ -1,3 +1,7 @@ +Sun Jan 23 10:33:02 2011 Nobuyoshi Nakada <nobu@r...> + + * template/fake.rb.in (ruby): suppress warnings. + Sun Jan 23 08:00:09 2011 Nobuyoshi Nakada <nobu@r...> * string.c (str_nth_len, str_utf8_nth): return the rest length together. Index: template/fake.rb.in =================================================================== --- template/fake.rb.in (revision 30636) +++ template/fake.rb.in (revision 30637) @@ -1,7 +1,12 @@ baseruby="@BASERUBY@" ruby="${RUBY-$baseruby}" -"eval" "{ `expr \"$ruby\" : echo > /dev/null || echo exec` $ruby "'-r"`expr \"$0\" : / > /dev/null || pwd`/${0#/}" "$@";' "}" || "exit" "$?" +"eval" "{" \ +"`expr \"$ruby\" : echo > /dev/null || echo exec`" \ +"$ruby" '-r"`expr \"$0\" : / > /dev/null || pwd`/${0#/}" "$@";' \ +"}" || "exit" "$?" +ruby=ruby class Object + remove_const :CROSS_COMPILING CROSS_COMPILING = RUBY_PLATFORM remove_const :RUBY_PLATFORM remove_const :RUBY_VERSION @@ -19,7 +24,6 @@ $:.unshift(File.expand_path("..", __FILE__)) posthook = proc do - config = RbConfig::CONFIG mkconfig = RbConfig::MAKEFILE_CONFIG extout = File.expand_path(mkconfig["EXTOUT"], mkconfig["builddir"]) $arch_hdrdir = "#{extout}/include/$(arch)" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/