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-13 14:06:33 +0100 |
commit | c119ca95e78b779bca9325e1f8fd22c6479469db (patch) | |
tree | fb7ddbe1f7d571b68bc8d1ae0ec791143c7de908 | |
parent | 8d92f0e42ce5b2340fde8f561c9e84506c677650 (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 |