summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 6df2b3005..e047c1611 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -11,7 +11,6 @@ use partition_table qw(:types);
use run_program;
use swap;
use detect_devices;
-use commands;
use modules;
use fsedit;
use loopback;
@@ -556,7 +555,7 @@ sub mount {
my ($dev, $where, $fs, $rdonly) = @_;
log::l("mounting $dev on $where as type $fs");
- -d $where or commands::mkdir_('-p', $where);
+ -d $where or mkdir_p($where);
my @fs_modules = qw(vfat hfs romfs ufs reiserfs xfs jfs ext3);