X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=lib%2Frbot%2Fpost-config.rb;h=1dc29103e2f6a333948a77c740951f2cdb36c985;hb=8218e3f05e8ccd95497dd3c7aa115cfde8b01a40;hp=182cdfce7cc4c001dd42e249c938b6bece582748;hpb=b277145b3f70e8a29dc1445724539b03d90fa108;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/lib/rbot/post-config.rb b/lib/rbot/post-config.rb index 182cdfce..1dc29103 100644 --- a/lib/rbot/post-config.rb +++ b/lib/rbot/post-config.rb @@ -1,8 +1,9 @@ # 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 " COREDIR = '#{config('rbdir')}/rbot/core'" f.puts " end" f.puts "end" }