diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-07-06 17:23:23 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-07-06 19:48:42 +0200 |
commit | 7bca683c7db6b314d7ef81542dd6ff844262e38f (patch) | |
tree | 14d82ea5e7eabbd141b66e22435648e5a8649623 | |
parent | 18a0f1c1ebc9729980e5ab2cf323bf34d7ca780d (diff) | |
download | mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.tar mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.tar.gz mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.tar.bz2 mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.tar.lz mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.tar.xz mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.tar.zst mbuto-7bca683c7db6b314d7ef81542dd6ff844262e38f.zip |
Fix parsing of LINKS
Currently mbuto misparses the LINKS variable in the profile. It will
correctly assign the first two tokens to the target and link name, but for
subsequent tokens ${__target} will always be non-empty, and so we'll never
change it for later links.
AFAICT this has been missed because the existing sample profiles only have
links all going to the same target.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rwxr-xr-x | mbuto | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -808,6 +808,7 @@ prog_add() { prog_link "${1}" \ "${__bindir##${wd}}/$("${BASENAME}" "${__bin}")" \ "${__target}" "${__l}" + __target= done libs_copy "${__bin}" |