Skip to content
Snippets Groups Projects
Commit 1cb33d5f authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Danilo K. S. Yorinori
Browse files

common.sh: Changed variables to allow the new way to call client


The change is needed due to the use of the getopt lib function, in the
verify_parameters().

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarDiego Giovane Pasqualin <dgp06@c3sl.ufpr.br>
Acked-by: default avatarRicardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
Signed-off-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
parent a76ced77
Branches
No related tags found
No related merge requests found
......@@ -35,6 +35,19 @@ function getProxyConf()
pport=$(grep "^pport=" ${PROXYCONF} | cut -f2 -d=)
puid=$(grep "^puid=" ${PROXYCONF} | cut -f2 -d=)
ppasswd=$(grep "^ppasswd=" ${PROXYCONF} | cut -f2 -d=)
if test -n "${phost}"; then
phost="--phost=${phost}"
fi
if test -n "${pport}"; then
pport="--pport=${pport}"
fi
if test -n "${puid}"; then
puid="--puid=${puid}"
fi
if test -n "${ppasswd}"; then
ppasswd="--ppasswd=${ppasswd}"
fi
}
function tryWget(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment