diff --git a/collect/integrity-checker.sh b/collect/integrity-checker.sh index 97ed9c4dd119fb7decac32030765ac38d777c4ea..3e8b384231f4d31f92ce153bf685320ace88982c 100755 --- a/collect/integrity-checker.sh +++ b/collect/integrity-checker.sh @@ -118,6 +118,7 @@ update_myself(){ fi fi + PROXYPASSWD="--proxy-password" if which wget &> /dev/null; then WGETBIN="$(which wget)" WGETVERSION="$(${WGETBIN} --version | head -n1 | cut -d' ' -f3)" @@ -128,8 +129,6 @@ update_myself(){ if test ${WGETVER1} -lt 1 -o ${WGETVER1} -eq 1 -a ${WGETVER2} -lt 10 then PROXYPASSWD="--proxy-passwd" - else - PROXYPASSWD="--proxy-password" fi else WGETBIN="${PREFIX}/bin/wget"