verify both auth & pwd before adding it
This commit is contained in:
parent
7710478ccb
commit
749b5d0e33
|
|
@ -40,7 +40,7 @@ URL="$1"
|
||||||
USER=""
|
USER=""
|
||||||
PASSWORD=""
|
PASSWORD=""
|
||||||
|
|
||||||
if ["$3" != ""]
|
if [[ "$3" != "" && "$4" != "" ]]
|
||||||
then
|
then
|
||||||
USER="--http-user=$3"
|
USER="--http-user=$3"
|
||||||
PASSWORD="--http-password=$4"
|
PASSWORD="--http-password=$4"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue