XQuartz: update quoting in case X11.app is moved to a directory with a space.

This commit is contained in:
Jeremy Huddleston 2008-12-21 14:42:26 -08:00
parent b62ed1f8ea
commit cc805dc799

View File

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