diff options
Diffstat (limited to 'src')
-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 |