Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/arch-nspawn.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch-nspawn.in')
-rw-r--r--src/arch-nspawn.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch-nspawn.in b/src/arch-nspawn.in
index bb681b2..3a2a728 100644
--- a/src/arch-nspawn.in
+++ b/src/arch-nspawn.in
@@ -119,6 +119,7 @@ eval "$(grep -a '^CARCH=' "$working_dir/etc/makepkg.conf")"
if [[ -f "@pkgdatadir@/setarch-aliases.d/${CARCH}" ]]; then
read -r set_arch < "@pkgdatadir@/setarch-aliases.d/${CARCH}"
+ [ -z "${set_arch}" ] && unset set_arch
else
set_arch="${CARCH}"
fi