diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-02 22:17:38 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-10-02 22:17:38 +0000 |
commit | 5037d3441d65f1fb6493c3b55137ef1b5eddd6b0 (patch) | |
tree | 2492d3901e78241bf72a399df681a5ec8aa0de12 /Xprint | |
parent | b05e78dd40e1fe915096362f32c3af8aee0ed36a (diff) |
Bug #1465 <https://bugs.freedesktop.org/show_bug.cgi?id=1465>
/etc/init.d/Xprint should use PROJECTROOT from build (Grzegorz
DÄ?browski)
Diffstat (limited to 'Xprint')
-rw-r--r-- | Xprint/etc/init.d/xprint.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Xprint/etc/init.d/xprint.cpp b/Xprint/etc/init.d/xprint.cpp index 56fae1d2b..dbfd1e139 100644 --- a/Xprint/etc/init.d/xprint.cpp +++ b/Xprint/etc/init.d/xprint.cpp @@ -176,6 +176,9 @@ export OPENWINHOME=/usr/openwin #elif defined(OS_AIX) XPROJECTROOT=/usr/lpp/X11 #else +#if defined(ProjectRoot) +[ -d ProjectRoot/bin ] && XPROJECTROOT=ProjectRoot +#endif [ -d /usr/X11/bin ] && XPROJECTROOT=/usr/X11 [ -d /usr/X11R6/bin ] && XPROJECTROOT=/usr/X11R6 #endif |