summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-21 14:42:26 -0800
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-12-21 21:35:04 -0800
commitb1f166f2981595aea6f8e2a336d6d25436f8a07d (patch)
tree9dc6c8c9c740f4e5ba8e938105a693e11233a374
parent2f47bda645eb43c60b71315e8d265190acce481d (diff)
XQuartz: update quoting in case X11.app is moved to a directory with a space.
(cherry picked from commit cc805dc799efa37c8dcefa3db04d87e9b835ffbd)
-rwxr-xr-xhw/xquartz/bundle/X11.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xquartz/bundle/X11.sh b/hw/xquartz/bundle/X11.sh
index f6fac9f50..4295da9b7 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