summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@archlinux.org>2018-01-21 14:18:43 +0100
committerBartłomiej Piotrowski <bpiotrowski@archlinux.org>2018-01-21 14:18:43 +0100
commit38c7a391b043547b946a99731a56a233458ba7a2 (patch)
tree03a1d008996c37bf071404aba3a3a9ee4597a965
parent75ad2aca572d36c4df1b07153e2403534fbd89ed (diff)
downloaddevtools-38c7a391b043547b946a99731a56a233458ba7a2.tar.gz
devtools-38c7a391b043547b946a99731a56a233458ba7a2.tar.xz
makechrootpkg: make sure that makepkg.conf is always parsed as text
-rw-r--r--makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
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