From aac2d52dc6aa1a7cc43c092be15707f3afdc37f2 Mon Sep 17 00:00:00 2001 From: hayao Date: Tue, 20 Oct 2020 16:17:41 +0900 Subject: [PATCH] [update] : Read multiple config files in one line --- build.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build.sh b/build.sh index bb56f3f6..957f9308 100755 --- a/build.sh +++ b/build.sh @@ -512,13 +512,9 @@ prepare_build() { build_pacman_conf="${script_path}/system/pacman-${arch}.conf" fi - # If there is config for share channel. load that. - load_config "${script_path}/channels/share/config.any" - load_config "${script_path}/channels/share/config.${arch}" - - # If there is config for each channel. load that. - load_config "${channel_dir}/config.any" - load_config "${channel_dir}/config.${arch}" + # If there is config for channel. load that. + load_config "${script_path}/channels/share/config.any" "${script_path}/channels/share/config.${arch}" + load_config "${channel_dir}/config.any" "${channel_dir}/config.${arch}" # Set username if [[ "${customized_username}" = false ]]; then -- 2.11.0