summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-18 16:24:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-18 16:24:42 +0000
commitd45bda0bf853a18645b795e2d43c8481696bea31 (patch)
tree898fe6067743f64bced97edf2ad9824de3de15ed /instruby.rb
parent857d380411b9903309eb84cae040a483043e755d (diff)
* ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standard
headers are inconsistent at this macro. [ruby-core:01432] * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks. * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers winspool.h * instruby.rb: make list at first instead of iterator. [ruby-talk:79347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/instruby.rb b/instruby.rb
index f005597ae2..c5a906a7c5 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -162,13 +162,13 @@ EOF
end
end
-Dir.glob("lib/**/*{.rb,help-message}") do |f|
+for f in Dir["lib/**/*{.rb,help-message}"]
dir = File.dirname(f).sub!(/\Alib/, rubylibdir) || rubylibdir
makedirs dir
install f, dir, :mode => 0644
end
-Dir.glob("*.h") do |f|
+for f in Dir["*.h"]
install f, archlibdir, :mode => 0644
end
@@ -177,7 +177,7 @@ if RUBY_PLATFORM =~ /mswin32|mingw|bccwin32/
install "win32/win32.h", File.join(archlibdir, "win32"), :mode => 0644
end
-Dir.glob("*.[1-9]") do |mdoc|
+for mdoc in Dir["*.[1-9]"]
next unless File.file?(mdoc) and open(mdoc){|fh| fh.read(1) == '.'}
section = mdoc[-1,1]