summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-01-15 17:57:00 +0100
committerBartłomiej Piotrowski <bpiotrowski@archlinux.org>2018-01-21 14:16:10 +0100
commitc9e287e845973e4c04e21fc513caaea4907e604e (patch)
treea44e52c5c5e4a96ac5ae720b7c61ebf00c7aa3f0
parent48b2f8dcc49d88e60bd9e4ee97c92fea8ac90721 (diff)
downloaddevtools-c9e287e845973e4c04e21fc513caaea4907e604e.tar.gz
devtools-c9e287e845973e4c04e21fc513caaea4907e604e.tar.xz
arch-nspawn: make sure that makepkg.conf is always parsed as text
https://lists.parabola.nu/pipermail/dev/2017-June/005576.html
-rw-r--r--arch-nspawn.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index c55f498..3949ee1 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -107,7 +107,7 @@ fi
build_mount_args
copy_hostconf
-eval "$(grep '^CARCH=' "$working_dir/etc/makepkg.conf")"
+eval "$(grep -a '^CARCH=' "$working_dir/etc/makepkg.conf")"
[[ -z $nosetarch ]] || unset CARCH