]> git.donarmstrong.com Git - infobot.git/commitdiff
* Include the $bot_src_dir and Modules dir in @INC
authordondelelcaro <dondelelcaro@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 3 Jun 2006 00:57:10 +0000 (00:57 +0000)
committerdondelelcaro <dondelelcaro@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 3 Jun 2006 00:57:10 +0000 (00:57 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1274 c11ca15a-4712-0410-83d8-924469b57eb5

blootbot

index 4ef62d5f1dfe4128bc441c6516c857cc773ca5d8..a888ed2c9b5c259f780ca13aff36f90f14b9f2f6 100755 (executable)
--- 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";