diff options
| author | mjwybrow <mjwybrow@users.sourceforge.net> | 2006-06-27 00:30:11 +0000 |
|---|---|---|
| committer | mjwybrow <mjwybrow@users.sourceforge.net> | 2006-06-27 00:30:11 +0000 |
| commit | 5ddd98941c6756e6f005558d33df7bd2db408f05 (patch) | |
| tree | 4fc2d5d7840a30f0f84caf604dcfa3462e051843 /packaging/macosx/ScriptExec | |
| parent | remove non-portable fast_sqrt; turns out simply sqrt(x*x+y*y) works even fast... (diff) | |
| download | inkscape-5ddd98941c6756e6f005558d33df7bd2db408f05.tar.gz inkscape-5ddd98941c6756e6f005558d33df7bd2db408f05.zip | |
* packaging/macosx/ScriptExec/main.c:
Add some quotes to fix a problem for people on OS X with
spaces in their home directory path. Fixes bug #1512019.
(bzr r1301)
Diffstat (limited to 'packaging/macosx/ScriptExec')
| -rw-r--r-- | packaging/macosx/ScriptExec/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c index 95092ee34..979d85057 100644 --- a/packaging/macosx/ScriptExec/main.c +++ b/packaging/macosx/ScriptExec/main.c @@ -198,7 +198,7 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall, StandardAlert(kAlertNoteAlert, "\pFont caches have been updated", "\pPlease re-run Inkscape.", ¶ms, &itemHit); - system("test -d $HOME/.inkscape || mkdir $HOME/.inkscape; touch $HOME/.inkscape/.fccache"); + system("test -d \"$HOME/.inkscape\" || mkdir \"$HOME/.inkscape\"; touch \"$HOME/.inkscape/.fccache\""); } } else @@ -208,7 +208,7 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall, StandardAlert(kAlertNoteAlert, "\pFont caches have not been updated", "\pThey can be updated manually by running the following:\n sudo /usr/X11R6/bin/fc-cache -f\nOnce you have dealt with this, please re-run Inkscape.", ¶ms, &itemHit); - system("test -d $HOME/.inkscape || mkdir $HOME/.inkscape; touch $HOME/.inkscape/.fccache"); + system("test -d \"$HOME/.inkscape\" || mkdir \"$HOME/.inkscape\"; touch \"$HOME/.inkscape/.fccache\""); } ExitToShell(); |
