fix testssl patch

This commit is contained in:
Florian Tham
2015-09-19 13:55:53 +02:00
parent c4649f0bdf
commit 2e2fea6558
2 changed files with 6 additions and 7 deletions

View File

@@ -2,12 +2,11 @@ diff --git a/testssl.sh b/testssl.sh
index c8ffdcf..018681f 100755
--- a/testssl.sh
+++ b/testssl.sh
@@ -72,7 +72,7 @@ echo $VERSION | egrep -q "dev|rc" && \
SWURL="https://testssl.sh "
@@ -79,7 +79,7 @@
SWURL="https://testssl.sh/ "
readonly PROG_NAME=$(basename "$0")
-readonly RUN_DIR=$(dirname $0)
+readonly RUN_DIR=$(dirname $(readlink -e $0))
-readonly RUN_DIR=$(dirname "$0")
+readonly RUN_DIR=$(dirname "$(readlink -e $0)")
INSTALL_DIR=""
MAP_RFC_FNAME=""
MAPPING_FILE_RFC=""