| author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-21 22:42:26 (GMT) |
|---|---|---|
| committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-22 05:35:02 (GMT) |
| commit | ecc3a7b6090552c309fe8e264d527ddd666a5761 (patch) (side-by-side diff) | |
| tree | 8f5280eb87c365e5a4f8f2c80d1a5520fc580205 | |
| parent | c3812aec973b7341a600e5d2d07d5a7f15abd609 (diff) | |
| download | xserver-ecc3a7b6090552c309fe8e264d527ddd666a5761.zip xserver-ecc3a7b6090552c309fe8e264d527ddd666a5761.tar.gz | |
XQuartz: update quoting in case X11.app is moved to a directory with a space.
(cherry picked from commit cc805dc799efa37c8dcefa3db04d87e9b835ffbd)
| -rwxr-xr-x | hw/xquartz/bundle/X11.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xquartz/bundle/X11.sh b/hw/xquartz/bundle/X11.sh index f6fac9f..4295da9 100755 --- a/hw/xquartz/bundle/X11.sh +++ b/hw/xquartz/bundle/X11.sh @@ -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 |
