chiark / gitweb /
dot/profile: Export correct variable for explicit HTTPS proxy.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 15 Jan 2025 13:57:53 +0000 (13:57 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 15 Jan 2025 14:03:38 +0000 (14:03 +0000)
Good job I've never wanted this to be separate.

dot/profile

index c9eee120bf36619375bc1f68b4db662d26e9035e..b8ee53608d6c9c9aafc0465811ede9cf1562df2e 100644 (file)
@@ -229,7 +229,7 @@ https=$(mdw-conf https-proxy none)
 case "${https_proxy-none},$https,${http_proxy-none}" in
   *,none,none) ;;
   none,none,*) https_proxy=$http_proxy; export https_proxy ;;
-  none,*,*) https_proxy=http://$https/; export ftp_proxy ;;
+  none,*,*) https_proxy=http://$https/; export https_proxy ;;
 esac
 ftp=$(mdw-conf ftp-proxy none)
 case "${ftp_proxy-none},$ftp,${http_proxy-none}" in