diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-11 21:30:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-11 21:30:44 +0000 |
commit | f2cae1d8ea00daa89f73f20713efc1bf9ce9d7b7 (patch) | |
tree | 6291e36d64e9be3bc1786780941270d5e8fda6fd /images/make_boot_img | |
parent | 126f63c7dc97cfaee8d2a09553edcc44d32d718d (diff) | |
download | drakx-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-x | images/make_boot_img | 2 |
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"); |