diff --git a/setup/so-functions b/setup/so-functions index 4eabd8657..20fa67dfd 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -967,7 +967,7 @@ parse_options() { proxy=$(echo "$1" | tr -d '"' | awk -F'--proxy=' '{print $2}') local proxy_protocol - proxy_protocol=$(echo "$proxy" |tr -d '"' | awk 'match($0, /http|https/) { print substr($0, RSTART, RLENGTH) }') + proxy_protocol=$(echo "$proxy" | awk 'match($0, /http|https/) { print substr($0, RSTART, RLENGTH) }') if [[ ! $proxy_protocol =~ ^(http|https)$ ]]; then echo "Invalid proxy protocol"