summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/macosx/Resources/bin/inkscape3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/macosx/Resources/bin/inkscape b/packaging/macosx/Resources/bin/inkscape
index 9b253bf59..97f1268c4 100755
--- a/packaging/macosx/Resources/bin/inkscape
+++ b/packaging/macosx/Resources/bin/inkscape
@@ -44,9 +44,10 @@ 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
# prepare the theme depending on OS X appearance settings
+ HERE=`pwd`
cd "$INKSCAPE_SHAREDIR/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/"
./sync_osx_look.sh
- cd "$CWD"
+ cd "$HERE"
export GTK2_RC_FILES="$INKSCAPE_SHAREDIR/themes/Clearlooks-Quicksilver-OSX/gtk-2.0/gtkrc"
fi