diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-06-21 06:31:12 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-06-21 06:31:12 +0000 |
commit | 53838a0e58027072c1ea8617342c2137d9fa5313 (patch) | |
tree | fffefdd164a048925196a437c208c1b21f687bbb /lib | |
parent | 7e774e049258dbda55edfdac9c5022c3d8fbdcf1 (diff) |
1.2.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getoptlong.rb | 4 | ||||
-rw-r--r-- | lib/mkmf.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb index 98a73ae3db..a37714cafd 100644 --- a/lib/getoptlong.rb +++ b/lib/getoptlong.rb @@ -75,7 +75,7 @@ class GetoptLong # # Whether error messages are output to stderr. # - @quiet_flag = FALSE + @quiet = FALSE # # Status code. @@ -259,7 +259,7 @@ class GetoptLong # Set an error (protected). # def set_error(type, message) - $stderr.print("#{$0}: #{message}\n") if !@quiet_flag + $stderr.print("#{$0}: #{message}\n") if !@quiet @error = type @error_message = message diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 218b3b19f6..b1744e3e0b 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -36,8 +36,8 @@ $archdir = $libdir+"/"+CONFIG["arch"] $install = CONFIG["INSTALL_PROGRAM"] $install_data = CONFIG["INSTALL_DATA"] if $install !~ /^\// then - $install = CONFIG["srcdir"]+"/"+$install - $install_data = CONFIG["srcdir"]+"/"+$install_data + $install = CONFIG["compile_dir"]+"/"+$install + $install_data = CONFIG["compile_dir"]+"/"+$install_data end if File.exist? $archdir + "/ruby.h" |