From: James Bunton Date: Mon, 31 Mar 2008 07:30:33 +0000 (+1100) Subject: proxyconf.sh can now find sysconfig as long as they are in the same dir (even X-Git-Url: https://code.delx.au/osx-proxyconf/commitdiff_plain/764b80c6b10ffaace49d376ef180bb07f217f792 proxyconf.sh can now find sysconfig as long as they are in the same dir (even if neither are in the path) --- 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"