Skip to content

Commit beb8832

Browse files
remove use_proxy
1 parent 81342a7 commit beb8832

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

start.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,13 @@ git config --global credential.helper "/bin/sh -c 'echo username=$USERNAME; echo
6969
set +e
7070
git config --global --unset http.proxy
7171
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
72+
if [ -n "$HTTP_PROXY" ]; then
73+
echo "Using HTTP_PROXY"
74+
git config --global http.proxy "$HTTP_PROXY"
75+
else
76+
if [ -n "$HTTPS_PROXY" ]; then
77+
echo "Using HTTPS_PROXY"
78+
git config --global http.proxy "$HTTPS_PROXY"
8179
fi
8280
fi
8381

0 commit comments

Comments
 (0)