Skip to content
Snippets Groups Projects
Commit 34a5b7fe authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci
Browse files

collect/integrity-checker.sh: Add $PROXYPASSWORD default value


Without this, an error occurs while using the wget binary from the agent.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarAryane Ast dos Santos <aras10@c3sl.ufpr.br>
parent 3c7bbc6b
No related branches found
No related tags found
No related merge requests found
...@@ -118,6 +118,7 @@ update_myself(){ ...@@ -118,6 +118,7 @@ update_myself(){
fi fi
fi fi
PROXYPASSWD="--proxy-password"
if which wget &> /dev/null; then if which wget &> /dev/null; then
WGETBIN="$(which wget)" WGETBIN="$(which wget)"
WGETVERSION="$(${WGETBIN} --version | head -n1 | cut -d' ' -f3)" WGETVERSION="$(${WGETBIN} --version | head -n1 | cut -d' ' -f3)"
...@@ -128,8 +129,6 @@ update_myself(){ ...@@ -128,8 +129,6 @@ update_myself(){
if test ${WGETVER1} -lt 1 -o ${WGETVER1} -eq 1 -a ${WGETVER2} -lt 10 if test ${WGETVER1} -lt 1 -o ${WGETVER1} -eq 1 -a ${WGETVER2} -lt 10
then then
PROXYPASSWD="--proxy-passwd" PROXYPASSWD="--proxy-passwd"
else
PROXYPASSWD="--proxy-password"
fi fi
else else
WGETBIN="${PREFIX}/bin/wget" WGETBIN="${PREFIX}/bin/wget"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment