projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix simulanious connections
[spider.git]
/
perl
/
callbot.pl
diff --git
a/perl/callbot.pl
b/perl/callbot.pl
index 6d845a215a91263667ef5b05bca1df629bce94ac..d03f9e2d383ae3d0f6ae0f123e3a69389bddd5d9 100755
(executable)
--- a/
perl/callbot.pl
+++ b/
perl/callbot.pl
@@
-16,7
+16,14
@@
package main;
BEGIN {
package main;
BEGIN {
- unshift @INC, '.';
+ umask 002;
+
+ # root of directory tree for this system
+ $root = "/spider";
+ $root = $ENV{'DXSPIDER_ROOT'} if $ENV{'DXSPIDER_ROOT'};
+
+ unshift @INC, "$root/perl"; # this IS the right way round!
+ unshift @INC, "$root/local";
}
use strict;
}
use strict;