Skip to content

Commit

Permalink
fix blank https proxy value
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshub16 committed Mar 4, 2019
1 parent e54674d commit 2458738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shellrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ set_proxy() {
echo "export NO_PROXY=\"${no_proxy}"\" >> "$SHELLRC"

if [ "$USE_HTTP_PROXY_FOR_HTTPS" = "true" ]; then
echo "export https_proxy=\"${http_proxy}/\"" >> "$SHELLRC"
echo "export HTTPS_PROXY=\"${HTTP_PROXY}/\"" >> "$SHELLRC"
echo "export https_proxy=\"http://${stmt}${http_host}:${http_port}/\"" >> "$SHELLRC"
echo "export HTTPS_PROXY=\"http://${stmt}${http_host}:${http_port}/\"" >> "$SHELLRC"
else
echo "export https_proxy=\"https://${stmt}${https_host}:${https_port}/\"" >> "$SHELLRC"
echo "export HTTPS_PROXY=\"https://${stmt}${https_host}:${https_port}/\"" >> "$SHELLRC"
Expand Down

0 comments on commit 2458738

Please sign in to comment.