Code

Quoted some more home directory calls
authorjiho-sf <jiho-sf@users.sourceforge.net>
Tue, 19 May 2009 18:17:11 +0000 (18:17 +0000)
committerjiho-sf <jiho-sf@users.sourceforge.net>
Tue, 19 May 2009 18:17:11 +0000 (18:17 +0000)
Accomodate for spaces in $HOME

packaging/macosx/Resources/script

index e6b7b224d322d40d970b8498cebb309a3b58c7d3..c58361d8625615ddc86f1e1fa2485322712ee8d3 100755 (executable)
@@ -39,12 +39,12 @@ if [[ $VERSION -le 4 ]]; then
        ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11
        
        # Warn the user about time-consuming generation of fontconfig caches.
-       test -f ${HOME}/.inkscape/.fccache-new || exit 12
+       test -f "${HOME}/.inkscape/.fccache-new" || exit 12
 else
        # Leopard onwards...
 
        # Warn the user about time-consuming generation of fontconfig caches.
-       test -d ${HOME}/.fontconfig || exit 12
+       test -d "${HOME}/.fontconfig" || exit 12
 fi