summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/configsub.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/configsub.rb b/ext/configsub.rb
index 47689d7ec0..15d9a2e3d3 100644
--- a/ext/configsub.rb
+++ b/ext/configsub.rb
@@ -24,7 +24,7 @@ BEGIN {
CONFIG['top_srcdir'] = File.expand_path($srcdir || ".")
CONFIG['RUBY_INSTALL_NAME'] = $install_name if $install_name
CONFIG['RUBY_SO_NAME'] = $so_name if $so_name
- $defout = open($output, 'w') if $output
+ $stdout = open($output, 'w') if $output
}
gsub!(/@(\w+)@/) {CONFIG[$1] || $&}