From: hayao Date: Thu, 30 Apr 2020 09:39:45 +0000 (+0900) Subject: [fix] : Fixed pacman.conf for each channel. X-Git-Tag: beta3-alpha3~83^2~34 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=499ba48faf7e67c33a41207c30ffa0535fbab5b5;p=alterlinux%2Falterlinux.git [fix] : Fixed pacman.conf for each channel. --- diff --git a/build.sh b/build.sh index 268987cd..6c163912 100755 --- a/build.sh +++ b/build.sh @@ -372,7 +372,8 @@ prepare_build() { } if [[ ${rebuild} = false ]]; then # If there is pacman.conf for each channel, use that for building - [[ -f "${script_path}/channels/${channel_name}/pacman-${arch}.conf" ]] && build_pacman_conf="${script_path}/channels/${channel_name}/pacman.conf" + if [[ -f "${script_path}/channels/${channel_name}/pacman-${arch}.conf" ]]; then + build_pacman_conf="${script_path}/channels/${channel_name}/pacman-${arch}.conf" # If there is config for each channel. load that.