projects
/
rbot
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
core/irclog: black and whitelists
[rbot]
/
lib
/
rbot
/
post-config.rb
1
# write out our datadir so we can reference it at runtime
2
File.open("pkgconfig.rb", "w") {|f|
3
f.puts "module Irc"
4
f.puts " module PKGConfig"
5
f.puts " DATADIR = '#{config('datadir')}/rbot'"
6
f.puts " COREDIR = '#{config('rbdir')}/rbot/core'"
7
f.puts " end"
8
f.puts "end"
9
}