XQuartz: Changed X11.sh to allow use of a ~/.x11run as requested by users of alternate shells

This commit is contained in:
Jeremy Huddleston 2008-12-18 09:14:16 -08:00
parent 37133b9d94
commit b62ed1f8ea

View File

@ -1,3 +1,8 @@
#!/bin/bash --login
"$(dirname $0)"/X11.bin "${@}"
if [ -x ~/.x11run ]; then
exec ~/.x11run "$(dirname $0)"/X11.bin "${@}"
else
exec "$(dirname $0)"/X11.bin "${@}"
fi