From 9dbce24f1827724fce1ffe468740f87313395b80 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Tue, 27 Jun 2006 00:30:11 +0000 Subject: [PATCH] * 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. --- ChangeLog | 14 ++++++++++---- packaging/macosx/ScriptExec/main.c | 4 ++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6219f84d7..6e7a5cecd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,16 @@ +2006-06-27 Michael Wybrow + + * 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. + 2006-06-21 Colin Marquardt * share/templates/DVD_cover_regular_300dpi.svg, - share/templates/DVD_cover_slim_300dpi.svg, - share/templates/DVD_cover_superslim_300dpi.svg, - share/templates/DVD_cover_ultraslim_300dpi.svg: - DVD templates by Aleksandar Urosevic. Closes #1507164. + share/templates/DVD_cover_slim_300dpi.svg, + share/templates/DVD_cover_superslim_300dpi.svg, + share/templates/DVD_cover_ultraslim_300dpi.svg: + DVD templates by Aleksandar Urosevic. Closes #1507164. 2006-06-19 Michael Wybrow 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(); -- 2.30.2