summaryrefslogtreecommitdiff
path: root/lib/rbot/post-config.rb
blob: 9413df5ef4e8534aa9d10d8ad5f75578360ca253 (plain)
1
2
3
4
5
6
7
8
# write out our datadir so we can reference it at runtime
File.open("pkgconfig.rb", "w") {|f|
  f.puts "module Irc"
  f.puts "  module PKGConfig"
  f.puts "    DATADIR = '#{config('datadir')}/rbot'"
  f.puts "  end"
  f.puts "end"
}