From 84c112561bcf17befcfc4cd6ddad337901d2c839 Mon Sep 17 00:00:00 2001 From: Dirk Date: Wed, 20 Sep 2017 10:56:33 +0200 Subject: [PATCH] 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. --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 74f22bf..07a53b1 100755 --- a/testssl.sh +++ b/testssl.sh @@ -108,7 +108,7 @@ readonly VERSION="2.9dev" 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