diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-04 23:11:27 +0100 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-04 23:21:44 +0100 |
commit | 08c86dc8ace433bd1efacc807357dc92661510ab (patch) | |
tree | c0123cb05c2723025882e8611acedbde918ff67c /manpages | |
parent | a542d52141acef0e2d2bb78253d6b5df4305dcd1 (diff) | |
download | vyos-live-build-08c86dc8ace433bd1efacc807357dc92661510ab.tar.gz vyos-live-build-08c86dc8ace433bd1efacc807357dc92661510ab.zip |
arches: fix some Check_architectures() mess
- the comparison with LB_ARCHITECTURE seems to be based upon an old idea
of it potentially being intended in the past to hold more than one
arch (when it's name as also plural), but it in fact only holds one.
- similarly LB_BOOTSTRAP_QEMU_ARCHITECTURE is singular, so the comparison
with the set of params is bad.
- storing $@ in a variable before then looping is not a good idea
- script name was not being passed to the warnings
- can simplify by just returning in the valid case
i'm very suspicious about the correctness of the qemu bits, but that
can wait for now.
Gbp-Dch: Short
Diffstat (limited to 'manpages')
0 files changed, 0 insertions, 0 deletions