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> | 2021-02-25 11:08:31 +0100 |
commit | cf704f3237a075bdf6f6dc07fa04198e6b09f77c (patch) | |
tree | 2ebb513ad81ba633cb9a40fff5f0211305eff165 /arch-nspawn.in | |
parent | f7316edb4c7969cf9ca015f429227cb2e59f0c13 (diff) |
-rw-r--r-- | arch-nspawn.in | 1 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index a32f82d..455b52e 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 |