Fixed variable renaming.

master
Pepi Zawodsky 2014-02-06 23:32:12 +01:00
parent 9e5ce9cca3
commit 57f41d7376
1 changed files with 2 additions and 2 deletions

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