From 764b80c6b10ffaace49d376ef180bb07f217f792 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 31 Mar 2008 18:30:33 +1100 Subject: [PATCH] proxyconf.sh can now find sysconfig as long as they are in the same dir (even if neither are in the path) --- proxyconf.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proxyconf.sh b/proxyconf.sh index dc9c86e..a6b7d23 100755 --- a/proxyconf.sh +++ b/proxyconf.sh @@ -18,6 +18,10 @@ function printEnvironment() { fi } + + +PATH="$(dirname "$0"):${PATH}" + printEnvironment "HTTP" "http_proxy" printEnvironment "HTTPS" "https_proxy" printEnvironment "FTP" "ftp_proxy" -- 2.39.2