fix missing space in banner and suppress empty version string

This commit is contained in:
Dirk 2017-04-05 20:39:35 +02:00
parent ec55cdea14
commit 61d42b022c

View File

@ -11034,9 +11034,13 @@ EOF
) )
pr_bold "$bb1" pr_bold "$bb1"
pr_boldurl "$SWURL"; outln pr_boldurl "$SWURL"; outln
pr_bold " (" if [[ -n "$idtag" ]]; then
pr_grey "$idtag" #FIXME: if we run it not off the git dir we miss the version tag.
prln_bold ")" # at least we don't want to display empty brackets here...
pr_bold " ("
pr_grey "$idtag"
prln_bold ")"
fi
pr_bold "$bb2" pr_bold "$bb2"
pr_boldurl "https://testssl.sh/bugs/"; outln pr_boldurl "https://testssl.sh/bugs/"; outln
pr_bold "$bb3" pr_bold "$bb3"