Skip to content

Commit b29c4f9

Browse files
committed
[fix] : Indent fix
1 parent b1d43a5 commit b29c4f9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

build.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ make_setup_mkinitcpio() {
668668
[[ "${boot_splash}" = true ]] && cp "${script_path}/mkinitcpio/mkinitcpio-archiso-plymouth.conf" "${airootfs_dir}/etc/mkinitcpio-archiso.conf"
669669

670670
if [[ "${gpg_key}" ]]; then
671-
gpg --export "${gpg_key}" >"${build_dir}/gpgkey"
672-
exec 17<>"${build_dir}/gpgkey"
671+
gpg --export "${gpg_key}" >"${build_dir}/gpgkey"
672+
exec 17<>"${build_dir}/gpgkey"
673673
fi
674674

675675
_chroot_run mkinitcpio -c "/etc/mkinitcpio-archiso.conf" -k "/boot/${kernel_filename}" -g "/boot/archiso.img"
@@ -726,10 +726,10 @@ make_syslinux() {
726726
# copy all syslinux config to work dir
727727
for _cfg in "${build_dir}/syslinux/"*.cfg; do
728728
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
729-
s|%OS_NAME%|${os_name}|g;
730-
s|%KERNEL_FILENAME%|${kernel_filename}|g;
731-
s|%ARCH%|${arch}|g;
732-
s|%INSTALL_DIR%|${install_dir}|g" "${_cfg}" > "${isofs_dir}/syslinux/${_cfg##*/}"
729+
s|%OS_NAME%|${os_name}|g;
730+
s|%KERNEL_FILENAME%|${kernel_filename}|g;
731+
s|%ARCH%|${arch}|g;
732+
s|%INSTALL_DIR%|${install_dir}|g" "${_cfg}" > "${isofs_dir}/syslinux/${_cfg##*/}"
733733
done
734734

735735
# Replace the SYSLINUX configuration file with or without boot splash.
@@ -1163,7 +1163,7 @@ if [[ -d "${channel_dir}.add" ]]; then
11631163
channel_name="${1}"
11641164
channel_dir="${channel_dir}.add"
11651165
elif [[ "${channel_name}" = "clean" ]]; then
1166-
_run_cleansh
1166+
_run_cleansh
11671167
exit 0
11681168
fi
11691169

0 commit comments

Comments
 (0)