diff --git a/lib/util-base.sh b/lib/util-base.sh index cb7112d..5d4a9e8 100644 --- a/lib/util-base.sh +++ b/lib/util-base.sh @@ -317,7 +317,7 @@ install_base() { # if branch was chosen, use that also in installed system. If not, use the system setting if [[ -e ${BRANCH} ]]; then sed -i "/Branch =/c\Branch = $(cat ${BRANCH})/" ${MOUNTPOINT}/etc/pacman-mirrors.conf 2>$ERR - check_for_error "set target branch -> $(cat ${BRANCH}" "$?" + check_for_error "set target branch -> $(cat ${BRANCH})" "$?" else sed -i "/Branch =/c$(grep "Branch =" /etc/pacman-mirrors.conf)" ${MOUNTPOINT}/etc/pacman-mirrors.conf 2>$ERR check_for_error "use host branch \($(grep "Branch =" /etc/pacman-mirrors.conf)\)" "$?"