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> | 2022-12-08 12:57:22 +0100 |
commit | e0705d39a10040783f7a3b0359a6e090752c0784 (patch) | |
tree | e4cc90a2944fc670c237edfbd23d355006db57a6 /src | |
parent | d7ab6b050033da93e46a3b005cdb2cbbb75da814 (diff) |
-rw-r--r-- | src/arch-nspawn.in | 1 |
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 |