mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
XQuartz: Cleaned up configure, X11.app path in launchd script
Don't hardcode X11.app's path in the launchd plist. Only install the launchd plist if we --enable-launchd. (cherry picked from commit 6b74c535dc331d1d621b2541492a3336f69d70a2)
This commit is contained in:
parent
1157cfcc5a
commit
a1b0346853
4 changed files with 65 additions and 67 deletions
|
|
@ -46,7 +46,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
/* First check if launchd started us */
|
||||
if(argc == 2 && !strncmp(argv[1], "--launchd", 9)) {
|
||||
if(argc == 2 && !strncmp(argv[1], "-launchd", 8)) {
|
||||
argc--;
|
||||
argv[1] = argv[0];
|
||||
argv++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue