summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2006-06-27 00:30:11 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2006-06-27 00:30:11 +0000
commit5ddd98941c6756e6f005558d33df7bd2db408f05 (patch)
tree4fc2d5d7840a30f0f84caf604dcfa3462e051843
parentremove non-portable fast_sqrt; turns out simply sqrt(x*x+y*y) works even fast... (diff)
downloadinkscape-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)
-rw-r--r--ChangeLog14
-rw-r--r--packaging/macosx/ScriptExec/main.c4
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 <mjwybrow@users.sourceforge.net>
+
+ * 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 <colin@marquardt-home.de>
* 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 <mjwybrow@users.sourceforge.net>
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.", &params, &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.", &params, &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();