From 38286baf174a9b8fbbd91653dbe3a846ded8a926 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 4 Jul 2017 22:19:19 -0400 Subject: librechroot: make sure that makepkg.conf is always parsed as text https://lists.parabola.nu/pipermail/dev/2017-June/005576.html --- src/chroot-tools/librechroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 19ae9ce..01353a4 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -64,7 +64,7 @@ hack_arch_nspawn_flags() { # Detect the architecture of the chroot local CARCH if [[ -f "$makepkg_conf" ]]; then - eval "$(grep '^CARCH=' "$makepkg_conf")" + eval "$(grep -a '^CARCH=' "$makepkg_conf")" else CARCH="$(uname -m)" fi -- cgit v1.2.2