mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-10 18:50:58 +01:00
workaround due to problem with blanks in $SWURL
SWURL contained for historical reasons trailing blanks for released versions. This caused an error in pr_boldurl --> html_out which didn't write the trailing style info and didn't close the href tag (travis complained.) This patch removes the trailing blank but it doesn't fix the error
This commit is contained in:
parent
11b4f67d7e
commit
c5ac8c9227
@ -108,7 +108,7 @@ readonly VERSION="2.9.5"
|
||||
readonly SWCONTACT="dirk aet testssl dot sh"
|
||||
egrep -q "dev|rc" <<< "$VERSION" && \
|
||||
SWURL="https://testssl.sh/dev/" ||
|
||||
SWURL="https://testssl.sh/ "
|
||||
SWURL="https://testssl.sh/"
|
||||
|
||||
readonly PROG_NAME="$(basename "$0")"
|
||||
readonly RUN_DIR="$(dirname "$0")"
|
||||
@ -563,7 +563,7 @@ set_color_functions() {
|
||||
italic=""
|
||||
|
||||
type -p tput &>/dev/null || return 0 # Hey wait, do we actually have tput / ncurses ?
|
||||
tput cols &>/dev/null || return 0 # tput under BSDs and GNUs doesn't work either (TERM undefined?)
|
||||
tput cols &>/dev/null || return 0 # tput under BSDs and GNUs doesn't work either (TERM undefined?)
|
||||
tput sgr0 &>/dev/null || ncurses_tput=false
|
||||
if [[ "$COLOR" -eq 2 ]]; then
|
||||
if $ncurses_tput; then
|
||||
|
Loading…
Reference in New Issue
Block a user