xbps-src: keep http_proxy and other lowercase proxy variables

This commit is contained in:
Gonzalo Tornaría 2023-01-04 10:25:10 -03:00 committed by Đoàn Trần Công Danh
parent c054a15cb4
commit 1d4a9d6c71
2 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,8 @@ for var in $(awk 'BEGIN{for (i in ENVIRON) {print i}}' </dev/null); do
;;
FTP_PROXY | FTP_RETRIES)
;;
http_proxy | https_proxy | ftp_proxy | all_proxy | no_proxy)
;;
*)
unset -v "$var"
;;