diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-12-16 18:06:04 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-12-16 18:06:04 -0300 |
commit | e6409b606197af1d0269c3ca0abcffd66462d076 (patch) | |
tree | 3e6cd95ec1b156a3764af8ac69475fc2bae06e75 /archiso/mkarchiso | |
parent | e6f0ffc18909d0a3f960a16542eb9012518525e1 (diff) | |
download | archiso32-e6409b606197af1d0269c3ca0abcffd66462d076.tar.xz |
[archiso] mkarchiso: do not process aitab entry if arch differs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index fac61eb..068ec22 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -453,6 +453,9 @@ command_prepare () { if [[ ${_aitab_img} =~ ^# ]]; then continue fi + if [[ "${_aitab_arch}" != "any" && "${_aitab_arch}" != "${arch}" ]]; then + continue + fi local _src="${work_dir}/${_aitab_img}" local _dst="${work_dir}/iso/${install_dir}/${_aitab_arch}" mkdir -p "${_dst}" |