diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-03-11 16:09:35 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-03-11 16:09:35 -0800 |
commit | 3d82396b95bff8ed6028e36cf3aed1f1189ba909 (patch) | |
tree | b7ec67f0b0c1337a469d78127376e25cb7d71f35 | |
parent | ad11d954cf296f2bfbe25ad483459c8485197dd1 (diff) |
darwin: Handle home directories that contain a single-quote (')
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | startx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ if [ x"$enable_xauth" = x1 ] ; then add :$dummy . $mcookie EOF #if defined(__APPLE__) || defined(__CYGWIN__) - serverargs=${serverargs}" -auth '"${xserverauthfile}"'" + serverargs=${serverargs}" -auth '"${xserverauthfile//\'/\'\\\'\'}"'" #else serverargs=${serverargs}" -auth "${xserverauthfile} #endif |