diff options
| author | fukachan <fukachan> | 2001-02-18 04:56:11 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-02-18 04:56:11 +0000 |
| commit | adefc3267af98da52b4eafd9df0ada36ea36803a (patch) | |
| tree | 20f36ab8d9621abab6ee073efbf4602907f43fab /fml/lib/FML/Process/Switch.pm | |
| parent | c138f7bb48a8a34ef904ae942f19075ec3020f57 (diff) | |
| download | fml8-adefc3267af98da52b4eafd9df0ada36ea36803a.tar.gz fml8-adefc3267af98da52b4eafd9df0ada36ea36803a.tar.bz2 fml8-adefc3267af98da52b4eafd9df0ada36ea36803a.zip | |
fix how to work when $argv[0] is not specified
Diffstat (limited to 'fml/lib/FML/Process/Switch.pm')
| -rw-r--r-- | fml/lib/FML/Process/Switch.pm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fml/lib/FML/Process/Switch.pm b/fml/lib/FML/Process/Switch.pm index eef95c85..6ec2bd6c 100644 --- a/fml/lib/FML/Process/Switch.pm +++ b/fml/lib/FML/Process/Switch.pm @@ -13,7 +13,7 @@ package FML::Process::Switch; use strict; use Carp; use vars qw($debug); - +use Standalone; sub main::Bootstrap2 { @@ -173,10 +173,7 @@ sub _ml_name_is_required { my ($myname) = @_; - if ($myname eq 'fmlconf') { - return 0; - } - elsif ($myname eq 'fmldoc') { + if ($myname eq 'fmldoc') { return 0; } else { |
