blob: 6aa7f99da2bd3c4d11d10c694acd526b302cd33f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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`
|