summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiHO <jiho-sf@users.sourceforge.net>2009-05-26 00:29:42 +0000
committerjiho-sf <jiho-sf@users.sourceforge.net>2009-05-26 00:29:42 +0000
commit28b0a3fe924c95f902ae55ae9ee85e60c01c808d (patch)
treecd68278fe5505a2e630d044dbd626e12625fd82b
parentUpdated Makefile corresponding to the rasterized icon removal (diff)
downloadinkscape-28b0a3fe924c95f902ae55ae9ee85e60c01c808d.tar.gz
inkscape-28b0a3fe924c95f902ae55ae9ee85e60c01c808d.zip
Some more quotes around /Users/jiho to allow spaces
(bzr r7936)
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape14
1 files changed, 7 insertions, 7 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
index 273244e9e..049cb8d92 100755
--- a/packaging/macosx/Resources/bin/inkscape
+++ b/packaging/macosx/Resources/bin/inkscape
@@ -46,7 +46,7 @@ export INKSCAPE_PLUGINDIR="$TOP/lib/inkscape"
export INKSCAPE_LOCALEDIR="$TOP/locale"
# Set GTK theme (only if there is no .gtkrc-2.0 in the user's home)
-if [[ ! -e $HOME/.gtkrc-2.0 ]]; then
+if [[ ! -e "$HOME/.gtkrc-2.0" ]]; then
# prepare the theme depending on OS X appearance settings
(
cd "$INKSCAPE_SHAREDIR/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/"
@@ -66,14 +66,14 @@ export LANG="`grep \"\`defaults read .GlobalPreferences AppleCollationOrder \
# This '#' needs to be escaped in pango.modules for Pango to work properly.
ESCAPEDTOP=`echo $TOP | sed 's/#/\\\\\\\\#/'`
-mkdir -p ${HOME}/.inkscape-etc
-sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > ${HOME}/.inkscape-etc/pangorc
+mkdir -p "${HOME}/.inkscape-etc"
+sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > "${HOME}/.inkscape-etc/pangorc"
sed 's|${CWD}|'"$ESCAPEDTOP|g" "$TOP/etc/pango/pango.modules" \
- > ${HOME}/.inkscape-etc/pango.modules
-cp -f "$TOP/etc/pango/pangox.aliases" ${HOME}/.inkscape-etc/
+ > "${HOME}/.inkscape-etc/pango.modules"
+cp -f "$TOP/etc/pango/pangox.aliases" "${HOME}/.inkscape-etc/"
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" \
- > ${HOME}/.inkscape-etc/gtk.immodules
+ > "${HOME}/.inkscape-etc/gtk.immodules"
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \
- > ${HOME}/.inkscape-etc/gdk-pixbuf.loaders
+ > "${HOME}/.inkscape-etc/gdk-pixbuf.loaders"
exec "$CWD/inkscape-bin" "$@"