From: dondelelcaro Date: Sat, 3 Jun 2006 00:57:10 +0000 (+0000) Subject: * Include the $bot_src_dir and Modules dir in @INC X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=bc1d3da48c2accd94a624e5c77b53389a75e906a;p=infobot.git * Include the $bot_src_dir and Modules dir in @INC git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1274 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot b/blootbot index 4ef62d5..a888ed2 100755 --- a/blootbot +++ b/blootbot @@ -27,6 +27,8 @@ BEGIN { $bot_pid = $$; + unshift @INC,"$bot_src_dir","$bot_src_dir/Modules"; + require "$bot_src_dir/logger.pl"; require "$bot_src_dir/core.pl"; require "$bot_src_dir/modules.pl";