Code

* packaging/macosx/ScriptExec/main.c:
authormjwybrow <mjwybrow@users.sourceforge.net>
Tue, 27 Jun 2006 00:30:11 +0000 (00:30 +0000)
committermjwybrow <mjwybrow@users.sourceforge.net>
Tue, 27 Jun 2006 00:30:11 +0000 (00:30 +0000)
      Add some quotes to fix a problem for people on OS X with
      spaces in their home directory path.  Fixes bug #1512019.

ChangeLog
packaging/macosx/ScriptExec/main.c

index 6219f84d725b8bcba77ac73975c1027f8240a757..6e7a5cecdc973773122cc759a8441fcd7ecf21a2 100644 (file)
--- 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>
 
index 95092ee349a73c5505cafe20ad366ab7af284f92..979d850572b6983c6a0cb085d05b5c8f715e5d0d 100644 (file)
@@ -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();