projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove typo in dxprothandle
[spider.git]
/
perl
/
callbot.pl
diff --git
a/perl/callbot.pl
b/perl/callbot.pl
index 6d845a215a91263667ef5b05bca1df629bce94ac..d63234f9a6730ba6ba199cb181fd7bae85a78027 100755
(executable)
--- a/
perl/callbot.pl
+++ b/
perl/callbot.pl
@@
-10,13
+10,20
@@
#
# Copyright (c) 1999 - Dirk Koopman, Tobit Computer Co Ltd
#
#
# Copyright (c) 1999 - Dirk Koopman, Tobit Computer Co Ltd
#
-#
$Id$
+#
#
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;