From e6409b606197af1d0269c3ca0abcffd66462d076 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 16 Dec 2012 18:06:04 -0300 Subject: [archiso] mkarchiso: do not process aitab entry if arch differs Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archiso/mkarchiso') 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}" -- cgit v1.2.3-70-g09d2