projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6c5caf
)
Set perl lib in wrapper scripts
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 22 Sep 2009 22:39:59 +0000
(15:39 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 22 Sep 2009 22:39:59 +0000
(15:39 -0700)
cron/cron-lib.pl
patch
|
blob
|
history
diff --git
a/cron/cron-lib.pl
b/cron/cron-lib.pl
index
6e95384
..
65eb85e
100755
(executable)
--- a/
cron/cron-lib.pl
+++ b/
cron/cron-lib.pl
@@
-1043,6
+1043,7
@@
while(<CONF>) {
\$root = \$1 if (/^root=(.*)/);
}
close(CONF);
+\$ENV{'PERLLIB'} = "\$root";
\$ENV{'WEBMIN_CONFIG'} = "$ENV{'WEBMIN_CONFIG'}";
\$ENV{'WEBMIN_VAR'} = "$ENV{'WEBMIN_VAR'}";
EOF