2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-12-26 20:53:41 +01:00

Fixed variable renaming.

This commit is contained in:
Pepi Zawodsky 2014-02-06 23:32:12 +01:00
parent 9e5ce9cca3
commit 57f41d7376

View File

@ -264,8 +264,8 @@ fi
# echo paramters left: $@
TEMPTARGET=$(sed -e 's/^.* //'<<<"${@}")
HOST=$(sed -e 's/:.*//'<<<"${TESTTARGET}")
PORT=$(sed -e 's/.*://'<<<"${TESTTARGET}")
HOST=$(sed -e 's/:.*//'<<<"${TEMPTARGET}")
PORT=$(sed -e 's/.*://'<<<"${TEMPTARGET}")
# Default to https if no port given
if [ "$HOST" = "$PORT" ]; then