summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2015-12-29 17:03:43 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2015-12-29 17:21:42 -0800
commit72160c42bea2073bf95c01aca59a12f0ca7ab707 (patch)
treec17eba5dafe77e9d92669220506f37601af1856e /startx.cpp
parent281b314f38564537279c94e605bee74ff41b0245 (diff)
launchd: Install binaries into libexecdir
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'startx.cpp')
-rw-r--r--startx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/startx.cpp b/startx.cpp
index 2a10283..2dda9e1 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -91,10 +91,10 @@ if [ x`defaults read $X11_PREFS_DOMAIN cache_fonts` = x1 ] ; then
fi
fi
-if [ -x XINITDIR/privileged_startx ] ; then
+if [ -x __libexecdir__/privileged_startx ] ; then
# Don't push this into the background becasue it can cause
# a race to create /tmp/.X11-unix
- XINITDIR/privileged_startx
+ __libexecdir__/privileged_startx
fi
if [ x`defaults read $X11_PREFS_DOMAIN no_auth` = x0 ] ; then