aboutsummaryrefslogtreecommitdiffstats
path: root/BCD/Media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'BCD/Media.pm')
-rw-r--r--BCD/Media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/BCD/Media.pm b/BCD/Media.pm
index 333bac8..dfbc5f1 100644
--- a/BCD/Media.pm
+++ b/BCD/Media.pm
@@ -425,7 +425,7 @@ sub create_list {
# my $list_filename_update = "$isoconf->{tocopy_file}_todo_$media->{name}_update";
my $list = "$chroot_path/urpmq/$list_filename";
my $list_update = "$chroot_path/urpmq/$list_filename" . "_update";
- system("sudo chroot $chroot_path mkdir -m 777 -p urpmq");
+ system("mkdir -m 777 -p $chroot_path/urpmq");
# urpmq error file
my $urpmq_error = "$chroot_path/$isoconf->{tocopy_file}_urpmi_error_$media->{name}";
my $urpmq_error_update = "$chroot_path/$isoconf->{tocopy_file}_urpmi_error_update_$media->{name}";