* template/fake.rb.in (ruby): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
734b61518b
commit
6df0210388
@ -1,3 +1,7 @@
|
|||||||
|
Sun Jan 23 10:33:02 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* template/fake.rb.in (ruby): suppress warnings.
|
||||||
|
|
||||||
Sun Jan 23 08:00:09 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Jan 23 08:00:09 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* string.c (str_nth_len, str_utf8_nth): return the rest length together.
|
* string.c (str_nth_len, str_utf8_nth): return the rest length together.
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
baseruby="@BASERUBY@"
|
baseruby="@BASERUBY@"
|
||||||
ruby="${RUBY-$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
|
class Object
|
||||||
|
remove_const :CROSS_COMPILING
|
||||||
CROSS_COMPILING = RUBY_PLATFORM
|
CROSS_COMPILING = RUBY_PLATFORM
|
||||||
remove_const :RUBY_PLATFORM
|
remove_const :RUBY_PLATFORM
|
||||||
remove_const :RUBY_VERSION
|
remove_const :RUBY_VERSION
|
||||||
@ -19,7 +24,6 @@ end
|
|||||||
|
|
||||||
$:.unshift(File.expand_path("..", __FILE__))
|
$:.unshift(File.expand_path("..", __FILE__))
|
||||||
posthook = proc do
|
posthook = proc do
|
||||||
config = RbConfig::CONFIG
|
|
||||||
mkconfig = RbConfig::MAKEFILE_CONFIG
|
mkconfig = RbConfig::MAKEFILE_CONFIG
|
||||||
extout = File.expand_path(mkconfig["EXTOUT"], mkconfig["builddir"])
|
extout = File.expand_path(mkconfig["EXTOUT"], mkconfig["builddir"])
|
||||||
$arch_hdrdir = "#{extout}/include/$(arch)"
|
$arch_hdrdir = "#{extout}/include/$(arch)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user