Skip to content

Commit 895370c

Browse files
committed
[fix] : Fixed the order of function
1 parent 182ba2b commit 895370c

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

allarch.sh

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,22 +1422,26 @@ for arch in ${all_arch[@]}; do
14221422
[[ "${noaur}" = false ]] && run_arch make_packages_aur
14231423
run_arch make_customize_airootfs
14241424
run_arch make_setup_mkinitcpio
1425-
[[ "${noiso}" = false ]] && run_arch make_syslinux
1426-
run_arch make_boot
1427-
[[ "${noiso}" = false ]] && run_arch make_prepare
1425+
if [[ "${noiso}" = false ]]; then
1426+
run_arch make_syslinux
1427+
run_arch make_boot
1428+
run_arch make_prepare
1429+
fi
14281430
done
1429-
run_once make_boot_extra
1430-
if [[ "${noiso}" = false ]] && [[ "${noefi}" = false ]]; then
1431+
if [[ "${noiso}" = false ]]; then
1432+
run_once make_boot_extra
14311433
run_once make_syslinux_loadfiles
14321434
run_once make_isolinux
1433-
run_once make_efi
1434-
run_once make_efiboot
1435+
if [[ "${noefi}" = false ]]; then
1436+
run_once make_efi
1437+
run_once make_efiboot
1438+
fi
1439+
run_once make_iso
14351440
fi
14361441
if [[ "${tarball}" = true ]]; then
14371442
for arch in ${all_arch[@]}; do
14381443
run_arch make_tarball
14391444
done
14401445
fi
1441-
[[ "${noiso}" = false ]] && run_once make_iso
14421446
[[ "${cleaning}" = true ]] && "${script_path}/tools/clean.sh" -o -w $(realpath "${work_dir}") $([[ "${debug}" = true ]] && echo -n "-d")
14431447
exit 0

0 commit comments

Comments
 (0)