index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-09-10 15:02:27 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-10-11 15:04:39 +0200 |
commit | 7fc125e9b30f677231303ef07defa0ed97e32eb9 (patch) | |
tree | 113635dc63d4bb74ef4006468d55be50cb43c792 | |
parent | cf9f7ae6b126039e73bbd18c9b09020f6f15023b (diff) |
-rw-r--r-- | arch-nspawn.in | 1 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index a069fa6..cba1344 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -129,6 +129,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 |