summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-04 22:19:19 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-04 22:21:42 -0400
commit38286baf174a9b8fbbd91653dbe3a846ded8a926 (patch)
tree66d1cd4d99836dd228f1b6b0a4e926e33b06749a /src
parentc4accb0e91507245584691691baa51a70723dc6e (diff)
librechroot: make sure that makepkg.conf is always parsed as textv20170705
https://lists.parabola.nu/pipermail/dev/2017-June/005576.html
Diffstat (limited to 'src')
-rwxr-xr-xsrc/chroot-tools/librechroot2
1 files changed, 1 insertions, 1 deletions
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