projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bb9f415
)
more mojo->master return path fixes
author
Dirk Koopman
<djk@tobit.co.uk>
Tue, 21 Feb 2017 11:57:34 +0000
(11:57 +0000)
committer
Dirk Koopman
<djk@tobit.co.uk>
Tue, 21 Feb 2017 11:57:34 +0000
(11:57 +0000)
perl/console.pl
patch
|
blob
|
history
diff --git
a/perl/console.pl
b/perl/console.pl
index 0a6d7404ba62c066539afd4697ba2d2fafba6771..f85e235d7d726ece77cb50c36dbd98733549e48f 100755
(executable)
--- a/
perl/console.pl
+++ b/
perl/console.pl
@@
-14,6
+14,9
@@
#
require 5.004;
+package main;
+
+use vars qw($data);
# search local then perl directories
BEGIN {
@@
-24,6
+27,7
@@
BEGIN {
unshift @INC, "$root/perl"; # this IS the right way round!
unshift @INC, "$root/local";
$is_win = ($^O =~ /^MS/ || $^O =~ /^OS-2/) ? 1 : 0; # is it Windows?
+ $data = "$root/data";
}
use Msg;