diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-02-25 16:59:37 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-02-25 16:59:37 +0000 |
commit | 1be4143fc7be0404b6e60ba393a2f87c73f7c7b1 (patch) | |
tree | 7767180d8425d2f9d27b083227038b8c6ebb45aa /iurt2 | |
parent | 335ee29d7c8c5ee3521bb87c29558b99086dde66 (diff) | |
download | iurt-1be4143fc7be0404b6e60ba393a2f87c73f7c7b1.tar iurt-1be4143fc7be0404b6e60ba393a2f87c73f7c7b1.tar.gz iurt-1be4143fc7be0404b6e60ba393a2f87c73f7c7b1.tar.bz2 iurt-1be4143fc7be0404b6e60ba393a2f87c73f7c7b1.tar.xz iurt-1be4143fc7be0404b6e60ba393a2f87c73f7c7b1.zip |
simplify using MDK::Common
Diffstat (limited to 'iurt2')
-rwxr-xr-x | iurt2 | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -726,9 +726,7 @@ if (!$run{use_old_chroot}) { } $chroot_tmp = "$config->{local_home}/chroot_tmp/$run{user}"; - if (!-d $chroot_tmp) { - mkdir $chroot_tmp; - } + mkdir_p($chroot_tmp); $chroot_tmp = "$config->{local_home}/chroot_tmp/$run{user}/$chroot_name.$run{run}"; $run{chroot_tmp} = $chroot_tmp; |