summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-09-22 13:17:10 +0000
committerfukachan <fukachan>2001-09-22 13:17:10 +0000
commitcbd11a549da55b229a963d400fe5b67fb0830ee1 (patch)
tree9368b14f32af1b354566a231d6ae4b35de794246 /fml/lib/FML/Command
parentcfa4e78966cbfc89791d2a6bcf79d3a0a290bb27 (diff)
downloadfml8-cbd11a549da55b229a963d400fe5b67fb0830ee1.tar.gz
fml8-cbd11a549da55b229a963d400fe5b67fb0830ee1.tar.bz2
fml8-cbd11a549da55b229a963d400fe5b67fb0830ee1.zip
modified to use File::Spec
Diffstat (limited to 'fml/lib/FML/Command')
-rw-r--r--fml/lib/FML/Command/Admin/edit.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Command/Admin/edit.pm b/fml/lib/FML/Command/Admin/edit.pm
index cb49663a..1574fab9 100644
--- a/fml/lib/FML/Command/Admin/edit.pm
+++ b/fml/lib/FML/Command/Admin/edit.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: edit.pm,v 1.2 2001/08/26 07:59:03 fukachan Exp $
+# $FML: edit.pm,v 1.1.1.1 2001/08/26 08:01:04 fukachan Exp $
#
package FML::Command::Admin::edit;
@@ -50,8 +50,9 @@ sub process
my $myname = $optargs->{ args }->{ myname };
# ML's home directory
+ use File::Spec;
my $ml_home_dir = $optargs->{ 'args' }->{ 'ml_home_dir' };
- my $config_cf = $ml_home_dir."/config.cf";
+ my $config_cf = File::Spec->catfile($ml_home_dir, "config.cf");
use FML::Config;
my $c = new FML::Config;