summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-ximages/make_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 016281cbf..6c1c4ffca 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -176,7 +176,7 @@ sub initrd {
}
# ka deploy need some files in all.rdz
{
- map { mkdir_p("$tmp_initrd/$_") } qw(sbin dev ka proc sbin var/tmp);
+ mkdir_p("$tmp_initrd/$_") foreach qw(sbin dev ka proc sbin var/tmp);
symlink("/sbin", "$tmp_initrd/bin");
cp_af("/usr/bin/ka-d-client", "$tmp_initrd/ka/ka-d-client");
cp_af("/usr/bin/mke2fs_diet", "$tmp_initrd/sbin/mke2fs");