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 12:40:39 +0100 |
commit | 1733fddc7ae325d2e776c552b9f3cfbe8914f781 (patch) | |
tree | 7e89effa94f7ae6dd20225076cefff94b20b206e /arch-nspawn.in | |
parent | 91c8b3210d83dac004657555bcf47a9b694d50ea (diff) |
-rw-r--r-- | arch-nspawn.in | 1 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index 683b84d..91c356d 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 |