We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81342a7 commit beb8832Copy full SHA for beb8832
start.sh
@@ -69,15 +69,13 @@ git config --global credential.helper "/bin/sh -c 'echo username=$USERNAME; echo
69
set +e
70
git config --global --unset http.proxy
71
set -e
72
-if [ "$USE_PROXY" = "true" ]; then
73
- if [ -n "$HTTP_PROXY" ]; then
74
- echo "Using HTTP_PROXY"
75
- git config --global http.proxy "$HTTP_PROXY"
76
- else
77
- if [ -n "$HTTPS_PROXY" ]; then
78
- echo "Using HTTPS_PROXY"
79
- git config --global http.proxy "$HTTPS_PROXY"
80
- fi
+if [ -n "$HTTP_PROXY" ]; then
+ echo "Using HTTP_PROXY"
+ git config --global http.proxy "$HTTP_PROXY"
+else
+ if [ -n "$HTTPS_PROXY" ]; then
+ echo "Using HTTPS_PROXY"
+ git config --global http.proxy "$HTTPS_PROXY"
81
fi
82
83
0 commit comments