summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-11 02:39:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-11 02:39:05 +0000
commitc7f86bb5f604f7d58e68839ebacb3c031f8b865b (patch)
tree1b1c0e30d29dd8e4378a0ca452ace5240bf1033f /template
parent1e96a30c9d410c215e7a628bcc8e1081d36926d8 (diff)
* template/fake.rb.in (CROSS_COMPILING): get rid of NameError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/fake.rb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/fake.rb.in b/template/fake.rb.in
index 5bbb335..7bfa0ae 100755
--- a/template/fake.rb.in
+++ b/template/fake.rb.in
@@ -6,7 +6,7 @@ ruby="${RUBY-$baseruby}"
"}" || "exit" "$?"
ruby=ruby
class Object
- remove_const :CROSS_COMPILING
+ remove_const :CROSS_COMPILING if defined?(CROSS_COMPILING)
CROSS_COMPILING = RUBY_PLATFORM
remove_const :RUBY_PLATFORM
remove_const :RUBY_VERSION