diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-04 06:46:07 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-04 06:46:07 +0000 |
commit | 77a10845f4f1bade2337b4acfe0c9e5262ae38c6 (patch) | |
tree | dcd7e120a2edbd27cf88587bd1e22eb4990c6d1a | |
parent | 533c1e1dcf0b4b837728a4fc51265d8d20e9d076 (diff) |
Fix one more problem with missing COREDIR and clean up setup.rb
-rw-r--r-- | lib/rbot/post-config.rb | 1 | ||||
-rwxr-xr-x | setup.rb | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/post-config.rb b/lib/rbot/post-config.rb index 9413df5e..14ef9876 100644 --- a/lib/rbot/post-config.rb +++ b/lib/rbot/post-config.rb @@ -3,6 +3,7 @@ File.open("pkgconfig.rb", "w") {|f| f.puts "module Irc" f.puts " module PKGConfig" f.puts " DATADIR = '#{config('datadir')}/rbot'" + f.puts " COREDIR = '#{config('rbdir')}/core'" f.puts " end" f.puts "end" } @@ -355,7 +355,6 @@ class ConfigTable_class # open again 'site-ruby-common' => 'siteruby', # For backward compatibility 'site-ruby' => 'siterubyver', # For backward compatibility 'bin-dir' => 'bindir', - 'bin-dir' => 'bindir', 'rb-dir' => 'rbdir', 'so-dir' => 'sodir', 'data-dir' => 'datadir', @@ -1197,7 +1196,7 @@ class Installer def ruby_scripts collect_filenames_auto().select {|n| /\.rb\z/ =~ n } end - + # picked up many entries from cvs-1.11.1/src/ignore.c reject_patterns = %w( core RCSLOG tags TAGS .make.state |