summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-28 14:54:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-28 14:54:38 +0000
commit1db5d687d0039edeba825c650583f8f4fece6f2f (patch)
tree4c425bbcf68bd17a2cd882f9a0d8267696028773 /perl-install/devices.pm
parent4bf70375459a272ee50c0f0fd19112f7ba0de04d (diff)
downloaddrakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar
drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.gz
drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.bz2
drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.tar.xz
drakx-1db5d687d0039edeba825c650583f8f4fece6f2f.zip
use mkdir_p instead of mkdir
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index d9263eb52..7fd8a8990 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -175,7 +175,7 @@ sub make($) {
}
#- make a directory for this inode if needed.
- mkdir dirname($file), 0755;
+ mkdir_p(dirname($file));
syscall_('mknod', $file, $type | 0600, makedev($major, $minor)) or die "mknod failed (dev $_): $!";