summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-09 21:15:13 -0800
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-09 21:15:13 -0800
commit13accec7614960965470f17894bc9212842ea6d7 (patch)
tree777d1e993a5d25c1885b87583d4791e8fc0004f0
parente06ebf63e2c91e590fc1091e5ea2e49bab835526 (diff)
OSX: More prefix fixes
-rw-r--r--startx.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/startx.cpp b/startx.cpp
index fb23f18..529366d 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -103,12 +103,12 @@ fi
XCOMM First, start caching fonts
if [ x`defaults read $X11_PREFS_DOMAIN cache_fonts` = x1 ] ; then
- if [ -x /usr/X11/bin/font_cache ] ; then
- /usr/X11/bin/font_cache &
- elif [ -x /usr/X11/bin/font_cache.sh ] ; then
- /usr/X11/bin/font_cache.sh &
- elif [ -x /usr/X11/bin/fc-cache ] ; then
- /usr/X11/bin/fc-cache &
+ if [ -x $bindir/font_cache ] ; then
+ $bindir/font_cache &
+ elif [ -x $bindir/font_cache.sh ] ; then
+ $bindir/font_cache.sh &
+ elif [ -x $bindir/fc-cache ] ; then
+ $bindir/fc-cache &
fi
fi