summaryrefslogtreecommitdiffstats
path: root/policy-management/src/main/server-gen
diff options
context:
space:
mode:
Diffstat (limited to 'policy-management/src/main/server-gen')
-rw-r--r--policy-management/src/main/server-gen/bin/deploy-artifact14
1 files changed, 7 insertions, 7 deletions
diff --git a/policy-management/src/main/server-gen/bin/deploy-artifact b/policy-management/src/main/server-gen/bin/deploy-artifact
index dab945a8..b02c4e0c 100644
--- a/policy-management/src/main/server-gen/bin/deploy-artifact
+++ b/policy-management/src/main/server-gen/bin/deploy-artifact
@@ -225,16 +225,16 @@ function setMavenProxyArgs
return 0
fi
- local proxy_creds=${http_proxy#*//}
- local proxy=${proxy_creds#*@}
- local host=${proxy%:*}
- local port=${proxy#*:}
+ local proxy_creds="${http_proxy#*//}"
+ local proxy="${proxy_creds#*@}"
+ local host="${proxy%:*}"
+ local port="${proxy#*:}"
MVN_PROXY_SETTINGS="-DproxyHost=${host} -DproxyPort=${port}"
if [[ "$proxy_creds" == *"@"* ]]; then
- local creds=${proxy_creds%%@*}
- local username=${creds%:*}
- local password=${creds#*:}
+ local creds="${proxy_creds%%@*}"
+ local username="${creds%:*}"
+ local password="${creds#*:}"
MVN_PROXY_SETTINGS+=" -DproxyUsername=${username} -DproxyPassword=${password}"
fi
}