[Xquartz-dev] 2.3.2_rc4
Jeremy Huddleston
jeremyhu at apple.com
Fri Dec 26 15:29:14 PST 2008
> Ta.
>
> How do you feel about moving the case statement into the external
> with-login-env script? Having the latter available as complete as
> possible
> has uses elsewhere, eg in cron or run execution:
>
> 0 0 * * * /path/to/with-login-env some command or other ...
>
> Jeremy, is acquiring an extra utility script acceptable to you?
Yeah, we could shove it in /usr/X11/libexec or somewhere appropriate.
Send your latest version that uses the case statement for well-known
shells... then we could just do something like this for our X11.app
startup script:
#!/bin/bash
set "$(dirname "$0")"/X11.bin "${@}"
if [ -x ~/.x11run ]; then
exec ~/.x11run "${@}"
fi
exec /usr/X11/libexec/exec-with-login-env "${@}"
More information about the Xquartz-dev
mailing list