diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-10-27 05:23:29 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-10-27 05:23:29 -0400 |
commit | 8de2bc98d6f618674d25da7850751c44db557f54 (patch) | |
tree | 94ef9c39848952348f63f4d8ace1a4e1c164e062 /crossdev | |
parent | crossdev: clean world file on uninstall (diff) | |
download | crossdev-8de2bc98d6f618674d25da7850751c44db557f54.tar.gz crossdev-8de2bc98d6f618674d25da7850751c44db557f54.tar.bz2 crossdev-8de2bc98d6f618674d25da7850751c44db557f54.zip |
crossdev: fix broken banner
The "prefixify build system and scripts" commit changed the banner
code for some reason, and the logic change was completely wrong.
So revert that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'crossdev')
-rwxr-xr-x | crossdev | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -742,9 +742,9 @@ hr() { || c=${c##* } fi local ext=${1:- _ - ~ -} - local sext=${ext/?/ } + local sext=${ext//?/ } local br=$(printf "%$((c + ${#ext}))s") - local banner=${br/${sext}/${ext}} + local banner=${br//${sext}/${ext}} echo "${banner:0:${c}}" } ver_get_op() { |