$OpenBSD: patch-platform8_lib_nbexec,v 1.1 2008/06/05 08:33:55 sturm Exp $
--- platform8/lib/nbexec.orig	Sun Jun  1 22:04:59 2008
+++ platform8/lib/nbexec	Sun Jun  1 22:06:02 2008
@@ -299,18 +299,18 @@ detect_gnome_proxy () {
 detect_kde_proxy () {
     kioslaverc="${HOME}/.kde/share/config/kioslaverc"
     if [ -f $kioslaverc ] ; then
-        if /bin/grep -q 'ProxyType=1' "$kioslaverc" ; then
-            http_proxy_tmp=`/bin/grep 'httpProxy=http://' "$kioslaverc"`
+        if /usr/bin/grep -q 'ProxyType=1' "$kioslaverc" ; then
+            http_proxy_tmp=`/usr/bin/grep 'httpProxy=http://' "$kioslaverc"`
             if [ $? ] ; then
                 http_proxy_tmp=`echo $http_proxy_tmp | /bin/sed 's/httpProxy=http:\/\///'`
                 return 0
             fi
-            http_non_proxy_hosts=`/bin/grep 'NoProxyFor=' "$kioslaverc"`
+            http_non_proxy_hosts=`/usr/bin/grep 'NoProxyFor=' "$kioslaverc"`
             if [ $? ] ; then
                 http_non_proxy_hosts=`echo $http_non_proxy_hosts | /bin/sed 's/NoProxyFor=//'`
             fi
         else
-            if /bin/grep -q 'ProxyType=0' "$kioslaverc" ; then
+            if /usr/bin/grep -q 'ProxyType=0' "$kioslaverc" ; then
                 http_proxy_tmp="DIRECT"
                 return 0
             fi
