diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-28 14:54:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-28 14:54:38 +0000 |
commit | 1db5d687d0039edeba825c650583f8f4fece6f2f (patch) | |
tree | 4c425bbcf68bd17a2cd882f9a0d8267696028773 /perl-install/loopback.pm | |
parent | 4bf70375459a272ee50c0f0fd19112f7ba0de04d (diff) | |
download | drakx-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/loopback.pm')
-rw-r--r-- | perl-install/loopback.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/loopback.pm b/perl-install/loopback.pm index 817038e36..6129e6c6d 100644 --- a/perl-install/loopback.pm +++ b/perl-install/loopback.pm @@ -56,7 +56,7 @@ sub carryRootCreateSymlink { symlink "/initrd/loopfs/lnx4win/boot", "$prefix/boot"; } #- indicate kernel to keep initrd - mkdir "$prefix/initrd", 0755; + mkdir_p("$prefix/initrd"); } @@ -108,7 +108,7 @@ sub verifFile { sub prepare_boot { my $r = readlink "$::prefix/boot"; unlink "$::prefix/boot"; - mkdir "$::prefix/boot", 0755; + mkdir_p("$::prefix/boot"); [$r, $::prefix]; } |