summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-07-05 11:43:26 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-09-13 16:44:20 -0400
commit2277bec07b9f4aff10d918b3c054adf74a16005f (patch)
tree64880404491793cc1ce5ee97b503e5cdf1cda712
parentcbfe74c814437f93b0d9b983f740104a7e303049 (diff)
downloaddevtools32-2277bec07b9f4aff10d918b3c054adf74a16005f.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 ebb9f4d..a225c1a 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