makechrootpkg: make sure that makepkg.conf is always parsed as text

This commit is contained in:
Bartłomiej Piotrowski 2018-01-21 14:18:43 +01:00
parent 75ad2aca57
commit 38c7a391b0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ load_vars() {
[[ -f $makepkg_conf ]] || return 1
for var in {SRC,SRCPKG,PKG,LOG}DEST MAKEFLAGS PACKAGER; do
[[ -z ${!var:-} ]] && eval "$(grep "^${var}=" "$makepkg_conf")"
[[ -z ${!var:-} ]] && eval "$(grep -a "^${var}=" "$makepkg_conf")"
done
return 0