summaryrefslogtreecommitdiff
path: root/tool/mkconfig.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-17 09:35:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-17 09:35:42 +0000
commit96064d18895b2c2569f99d02a27181d99316c0b1 (patch)
tree521464f1ccc8aed7f5ed813972c3165d2c77503e /tool/mkconfig.rb
parentf913368b578c99afe61a5d479e884da34f5bc98d (diff)
* tool/mkconfig.rb (RbConfig): get rid of unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/mkconfig.rb')
-rwxr-xr-xtool/mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index 243ffa1..a2221f0 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -152,7 +152,7 @@ print <<'ARCH' if universal
arch_flag = ENV['ARCHFLAGS'] || ((e = ENV['RC_ARCHS']) && e.split.uniq.map {|a| "-arch #{a}"}.join(' '))
arch = arch_flag && arch_flag[/\A\s*-arch\s+(\S+)\s*\z/, 1]
ARCH
-print " universal = #{universal}\n"
+print " universal = #{universal}\n" if universal
print " CONFIG = {}\n"
print " CONFIG[\"DESTDIR\"] = DESTDIR\n"