Skip to content
Snippets Groups Projects
Commit d115fd46 authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

fix: remove quotes embeded with value

Using this syntax, the `"` is made part of the system property's value.
parent fc1e511f
Branches
Tags
No related merge requests found
......@@ -337,7 +337,7 @@ stages:
host=$(echo "$host_port" | cut -d':' -f1)
port=$(echo "$host_port" | cut -s -d':' -f2)
proto_proxy_args="-D$proto.proxyHost=$host -D$proto.proxyPort=${port:-80}"
if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=\"$non_proxy_hosts\""; fi
if [[ "$non_proxy_hosts" ]]; then proto_proxy_args="$proto_proxy_args -D$proto.nonProxyHosts=$non_proxy_hosts"; fi
echo "$proto_proxy_args"
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment