summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Kernel.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-17 07:39:38 +0000
committerfukachan <fukachan>2001-02-17 07:39:38 +0000
commit7cf3623e7e1599cde7977fa3beac9a18dc3ed4d6 (patch)
tree59fe546e8794c77e1f8b077d7c8ca223134b1ff8 /fml/lib/FML/Process/Kernel.pm
parentb55b073fbb698b922661f4f78ab80faaf8cbe071 (diff)
downloadfml8-7cf3623e7e1599cde7977fa3beac9a18dc3ed4d6.tar.gz
fml8-7cf3623e7e1599cde7977fa3beac9a18dc3ed4d6.tar.bz2
fml8-7cf3623e7e1599cde7977fa3beac9a18dc3ed4d6.zip
move Bootstrap() latter part from libexec/loader to libexec/proces_switch.
"fmldoc" is a "perldoc" wrapper to show fml perl modules
Diffstat (limited to 'fml/lib/FML/Process/Kernel.pm')
-rw-r--r--fml/lib/FML/Process/Kernel.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Kernel.pm b/fml/lib/FML/Process/Kernel.pm
index 397958c5..f260e0d8 100644
--- a/fml/lib/FML/Process/Kernel.pm
+++ b/fml/lib/FML/Process/Kernel.pm
@@ -30,7 +30,8 @@ sub new
my ($cfargs) = {};
# import variables
- my (@import_vars) = qw(ml_home_dir ml_home_prefix);
+ my (@import_vars) = qw(ml_home_prefix);
+ push(@import_vars, 'ml_home_dir') if $args->{ need_ml_name };
for my $var (@import_vars) {
if ($args->{ $var }) {
$cfargs->{ $var } = $args->{ $var };