Skip to content

Commit e418e10

Browse files
committed
[fix] : Pass arguments to the script with the correct delimiters
1 parent 4653c00 commit e418e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ _run_with_pacmanconf(){
245245
# コマンドをchrootで実行する
246246
_chroot_run() {
247247
msg_debug "Run command in chroot\nCommand: ${*}"
248-
eval -- arch-chroot "${airootfs_dir}" "${@}"
248+
arch-chroot "${airootfs_dir}" "${@}"
249249
}
250250

251251
_cleanup_common () {
@@ -657,7 +657,7 @@ make_customize_airootfs() {
657657
# -k changed in AlterISO3 from passing kernel name to passing kernel configuration.
658658

659659
# Generate options of customize_airootfs.sh.
660-
_airootfs_script_options=(-p "${password}" -k "\"${kernel} ${kernel_filename} ${kernel_mkinitcpio_profile}\"" -u "${username}" -o "${os_name}" -i "${install_dir}" -s "${usershell}" -a "${arch}" -g "${locale_gen_name}" -l "${locale_name}" -z "${locale_time}" -t "${theme_name}")
660+
_airootfs_script_options=(-p "${password}" -k "${kernel} ${kernel_filename} ${kernel_mkinitcpio_profile}" -u "${username}" -o "${os_name}" -i "${install_dir}" -s "${usershell}" -a "${arch}" -g "${locale_gen_name}" -l "${locale_name}" -z "${locale_time}" -t "${theme_name}")
661661
[[ "${boot_splash}" = true ]] && _airootfs_script_options+=("-b")
662662
[[ "${debug}" = true ]] && _airootfs_script_options+=("-d")
663663
[[ "${bash_debug}" = true ]] && _airootfs_script_options+=("-x")

0 commit comments

Comments
 (0)