More debug crap.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 16 Feb 2010 00:00:50 +0000 (00:00 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 16 Feb 2010 00:00:50 +0000 (00:00 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31892 f5534014-38df-0310-8fa8-9805f1628bb7

tools/win-setup.sh

index af241da2f0860d0f1eb17f2df7ea76cf0c47ebc2..788960af2fe3940d44a72a12fddd3ac2db7a5cb6 100755 (executable)
@@ -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."