2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2024-11-22 22:33:40 +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: $@ # echo paramters left: $@
TEMPTARGET=$(sed -e 's/^.* //'<<<"${@}") TEMPTARGET=$(sed -e 's/^.* //'<<<"${@}")
HOST=$(sed -e 's/:.*//'<<<"${TESTTARGET}") HOST=$(sed -e 's/:.*//'<<<"${TEMPTARGET}")
PORT=$(sed -e 's/.*://'<<<"${TESTTARGET}") PORT=$(sed -e 's/.*://'<<<"${TEMPTARGET}")
# Default to https if no port given # Default to https if no port given
if [ "$HOST" = "$PORT" ]; then if [ "$HOST" = "$PORT" ]; then