Skip to content

Commit ec0f127

Browse files
committed
[fix] : Undefined variable
1 parent f642444 commit ec0f127

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
@@ -521,8 +521,6 @@ prepare_build() {
521521

522522
# Setup custom pacman.conf with current cache directories.
523523
make_pacman_conf() {
524-
msg_debug "Use ${build_pacman_conf}"
525-
526524
# Pacman configuration file used only when building
527525
# If there is pacman.conf for each channel, use that for building
528526
if [[ -f "${channel_dir}/pacman-${arch}.conf" ]]; then
@@ -531,6 +529,8 @@ make_pacman_conf() {
531529
build_pacman_conf="${script_path}/system/pacman-${arch}.conf"
532530
fi
533531

532+
msg_debug "Use ${build_pacman_conf}"
533+
534534
if [[ "${nosigcheck}" = true ]]; then
535535
sed -r "s|^#?\\s*SigLevel.+|SigLevel = Never|g" ${build_pacman_conf} > "${work_dir}/pacman-${arch}.conf"
536536
else

0 commit comments

Comments
 (0)