From 38c7a391b043547b946a99731a56a233458ba7a2 Mon Sep 17 00:00:00 2001 From: Bartłomiej Piotrowski Date: Sun, 21 Jan 2018 14:18:43 +0100 Subject: makechrootpkg: make sure that makepkg.conf is always parsed as text --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index a6c54cc..afcd121 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -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 -- cgit v1.2.3-24-g4f1b