diff options
| author | fukachan <fukachan> | 2001-02-17 14:39:15 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-02-17 14:39:15 +0000 |
| commit | 169f52cf19444525a65ee947ac177af8e093207f (patch) | |
| tree | a070c4fe6dd8f47455d8c6898edd289309950d62 /fml/libexec/loader | |
| parent | 7cf3623e7e1599cde7977fa3beac9a18dc3ed4d6 (diff) | |
| download | fml8-169f52cf19444525a65ee947ac177af8e093207f.tar.gz fml8-169f52cf19444525a65ee947ac177af8e093207f.tar.bz2 fml8-169f52cf19444525a65ee947ac177af8e093207f.zip | |
move libexec/process_switch to FML::Process:Switch
Diffstat (limited to 'fml/libexec/loader')
| -rwxr-xr-x | fml/libexec/loader | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fml/libexec/loader b/fml/libexec/loader index 756048ec..bc54f920 100755 --- a/fml/libexec/loader +++ b/fml/libexec/loader @@ -4,7 +4,7 @@ # Copyright (C) 2000-2001 Ken'ichi Fukamachi # All rights reserved. # -# $Id: loader,v 1.10 2001/02/17 01:54:41 fukachan Exp $ +# $Id: loader,v 1.11 2001/02/17 07:39:38 fukachan Exp $ # $FML$ # @@ -62,9 +62,12 @@ sub Bootstrap my $main_cf = Standalone::load_cf($main_cf_file, $params); my $libexec_dir = $main_cf->{ libexec_dir }; + # set up @INC + push(@INC, split(/\s+/, $main_cf->{ lib_dir })); + # 2.2 load $version depended process_switch eval { - require "$libexec_dir/process_switch"; + require FML::Process::Switch; }; unless ($@) { &Bootstrap2($main_cf_file); |
