$NetBSD: patch-af,v 1.4 2009/11/29 20:51:51 tnn Exp $ --- packaging/macosx/Resources/script.orig 2009-11-16 18:29:06.000000000 +0100 +++ packaging/macosx/Resources/script @@ -31,7 +31,7 @@ if [[ $VERSION -le 4 ]]; then open -a XDarwin /tmp/getdisplay.sh || \ echo ":0" > /tmp/display.$UID - while [ "$?" == "0" -a ! -f /tmp/display.$UID ]; do + while [ "$?" = "0" -a ! -f /tmp/display.$UID ]; do sleep 1 done export DISPLAY=`cat /tmp/display.$UID`