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

(cherry picked from commit cc805dc799)
This commit is contained in:
Jeremy Huddleston 2008-12-21 14:42:26 -08:00
parent 2f47bda645
commit b1f166f298

View File

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