Fixed variable renaming.
This commit is contained in:
parent
9e5ce9cca3
commit
57f41d7376
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue