summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-11 21:30:44 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-11 21:30:44 +0000
commitf2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7 (patch)
tree6291e36d64e9be3bc1786780941270d5e8fda6fd /images/make_boot_img
parent126f63c7dc97cfaee8d2a09553edcc44d32d718d (diff)
downloaddrakx-f2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7.tar
drakx-f2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7.tar.gz
drakx-f2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7.tar.bz2
drakx-f2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7.tar.xz
drakx-f2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7.zip
use foreach
Diffstat (limited to 'images/make_boot_img')
-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");