]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/post-config.rb
use a db env for the databases to avoid some corruption problems (I hope)
[user/henk/code/ruby/rbot.git] / lib / rbot / post-config.rb
index 182cdfce7cc4c001dd42e249c938b6bece582748..9413df5ef4e8534aa9d10d8ad5f75578360ca253 100644 (file)
@@ -1,7 +1,7 @@
 # write out our datadir so we can reference it at runtime
-File.open('rbotconfig.rb', "w") {|f|
+File.open("pkgconfig.rb", "w") {|f|
   f.puts "module Irc"
-  f.puts "  module Config"
+  f.puts "  module PKGConfig"
   f.puts "    DATADIR = '#{config('datadir')}/rbot'"
   f.puts "  end"
   f.puts "end"