diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-02-16 00:00:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-02-16 00:00:50 +0000 |
commit | 915f1482dbe9a50675a680e8a4f954a5170fa81b (patch) | |
tree | 04cdff27166f0998153c1d03973322bd8448c24d /tools/win-setup.sh | |
parent | 0023958937e58cea9b03b87a17c820b2823f7f09 (diff) |
More debug crap.
svn path=/trunk/; revision=31892
Diffstat (limited to 'tools/win-setup.sh')
-rwxr-xr-x | tools/win-setup.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/win-setup.sh b/tools/win-setup.sh index af241da2f0..788960af2f 100755 --- a/tools/win-setup.sh +++ b/tools/win-setup.sh @@ -60,8 +60,11 @@ find_proxy() { # Strip out newlines so that doesn't happen. # proxy_enabled=`regtool get /HKCU/Software/Microsoft/Windows/CurrentVersion/Internet\ Settings/ProxyEnable 2>/dev/null | tr -d '\012'` -echo "proxy_enabled is:" +if [ -n "$proxy_enabled ] ; then +echo "proxy_enabled is $proxy_enabled" +echo "In raw bytes, that's:" echo -n "$proxy_enabled" | od -bc +fi if [ -n "$proxy_enabled" -a "$proxy_enabled" -ne 0 ] ; then export http_proxy=`regtool get /HKCU/Software/Microsoft/Windows/CurrentVersion/Internet\ Settings/ProxyServer 2>/dev/null` echo "Using Internet Explorer proxy settings." |