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 11:43:26 -0400
commit8859fc91de4c33337edf3654bfce8ec1ce00f083 (patch)
tree2348be13487d2ab0cf04f6114973677a9646bcad
parentc2da7fa9f27a60bb0ef8011394f93cfe8f3a6c72 (diff)
downloaddevtools32-8859fc91de4c33337edf3654bfce8ec1ce00f083.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