Browse files

Minor changes

  • Loading branch information...
1 parent 204dd28 commit 00bae677246b5fd3ef9f1437a0191a173a241185 tim committed Jul 14, 2003
Showing with 2 additions and 4 deletions.
  1. +2 −4 post-setup.rb
View
6 post-setup.rb
@@ -204,7 +204,7 @@ def filetoHTML(file, html)
# We're in the source directory. Process the doc in-place. The post-install.rb
-# script moves the generated documentation tpost-setup.rbo the ultimate installation directories.
+# script moves the generated documentation to the ultimate installation directories.
cwd = Dir.getwd()
@@ -224,9 +224,7 @@ def filetoHTML(file, html)
Dir.chdir('ex')
files = Dir['*.rb']
files.each do |file|
- filter(file) do |line|
- line.sub(/\A\#!\s*\S*ruby\s/, '#!'+RUBYPROG+' ')
- end
+ filter(file) { |line| line.sub(/\A\#!\s*\S*ruby\s/, '#!'+RUBYPROG+' ') }
# Step 2B: Make a copy of the example as HTML in the doc directory
filetoHTML(file, "../#{file}.html")

0 comments on commit 00bae67

Please sign in to comment.