]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blob - lib/rbot/post-config.rb
Sun Jul 31 02:20:08 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>
[user/henk/code/ruby/rbot.git] / lib / rbot / post-config.rb
1 # write out our datadir so we can reference it at runtime
2 File.open('rbotconfig.rb', "w") {|f|
3   f.puts "module Irc"
4   f.puts "  module Config"
5   f.puts "    DATADIR = '#{config('datadir')}/rbot'"
6   f.puts "  end"
7   f.puts "end"
8 }