diff options
author | Russ Cox <rsc@swtch.com> | 2008-07-09 11:47:44 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-07-09 11:47:44 -0400 |
commit | 0a40aeedbfc4713f4d8f20031e00a494c647bc9e (patch) | |
tree | 744fbb86ef7c7f6762f6bc67b1d41e06c5f39ef4 /src/cmd | |
parent | 8315a8045cd2c8433a9bbec6f2a93669ddc93501 (diff) | |
download | plan9port-0a40aeedbfc4713f4d8f20031e00a494c647bc9e.tar.gz plan9port-0a40aeedbfc4713f4d8f20031e00a494c647bc9e.tar.bz2 plan9port-0a40aeedbfc4713f4d8f20031e00a494c647bc9e.zip |
devdraw: default to native gui on OS X
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/devdraw/mkwsysrules.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh index 1239b86b..88102c89 100644 --- a/src/cmd/devdraw/mkwsysrules.sh +++ b/src/cmd/devdraw/mkwsysrules.sh @@ -21,7 +21,9 @@ if [ "x$X11" = "x" ]; then fi if [ "x$WSYSTYPE" = "x" ]; then - if [ -d "$X11" ]; then + if [ "x`uname`" = "xDarwin" ]; then + WSYSTYPE=osx + elif [ -d "$X11" ]; then WSYSTYPE=x11 else WSYSTYPE=nowsys |