summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-07-05 11:43:26 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-07-05 15:37:20 -0400
commitb57ae07ee862fe022a637661cc39f41484abeec4 (patch)
treeead4b8474f31c88e83172ba9654ac677ded03359
parent90815fec833f8efd73b95bc291d538396e13784e (diff)
downloaddevtools-b57ae07ee862fe022a637661cc39f41484abeec4.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 0b0dc68..0d93b5d 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -108,7 +108,7 @@ build_mount_args
cache_dirs+=('/repo/')
copy_hostconf
-eval "$(grep '^CARCH=' "$working_dir/etc/makepkg.conf")"
+eval "$(grep -a '^CARCH=' "$working_dir/etc/makepkg.conf")"
case "$CARCH" in
armv7h) CARCH=armv7l;;
esac