sorround update URL with double qoutes

This commit is contained in:
Daniel Steglich 2015-03-04 10:01:48 +00:00
parent 5c5134f233
commit 68bd749164

View File

@ -240,13 +240,13 @@ doUpdate()
doReplaceVars
if [ "${basicauth}" = "enabled" ];then
wgetoptions=" --user $user --password $pass "
local wgetoptions=" --user $user --password $pass "
fi
if [ "${ignoreCertError}" = "enabled" ];then
wgetoptions=" --no-check-certificate "
if [ "${ignoreCertError}" = "enabled" ];then
local wgetoptions=" --no-check-certificate "
fi
$WGET ${wgetoptions} ${updateurl}
$WGET ${wgetoptions} "${updateurl}"
[ $? -eq 0 ] && ${0} success
fi
}