summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorRené de Hesselle <dehesselle@web.de>2019-08-11 23:13:50 +0000
committerRené de Hesselle <dehesselle@web.de>2019-08-11 23:13:50 +0000
commit6758c7b93f2e59ea137fda9fb3f0137e71f416ec (patch)
tree8d918090e03ecd109c7065622d641ce2f10abf3a /packaging
parentSilence a few warnings from 460193870ad22ad7611978c5d139149909f56664 (diff)
downloadinkscape-6758c7b93f2e59ea137fda9fb3f0137e71f416ec.tar.gz
inkscape-6758c7b93f2e59ea137fda9fb3f0137e71f416ec.zip
Fix quoting/escaping in XDG directory paths
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macos/220-inkscape-package.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/macos/220-inkscape-package.sh b/packaging/macos/220-inkscape-package.sh
index a71ea345d..fe4583e54 100755
--- a/packaging/macos/220-inkscape-package.sh
+++ b/packaging/macos/220-inkscape-package.sh
@@ -49,12 +49,12 @@ insert_before $APP_EXE_DIR/Inkscape '\$EXEC' 'export INKSCAPE_LOCALEDIR=$bundle_
# add XDG paths to use native locations on macOS
insert_before $APP_EXE_DIR/Inkscape 'export XDG_CONFIG_DIRS' '\
-export XDG_DATA_HOME=\"$HOME/Library/Application\\ Support/Inkscape/data\"\
+export XDG_DATA_HOME=\"$HOME/Library/Application Support/Inkscape/data\"\
export XDG_CONFIG_HOME=\"$HOME/Library/Application Support/Inkscape/config\"\
export XDG_CACHE_HOME=\"$HOME/Library/Application Support/Inkscape/cache\"\
-mkdir -p $XDG_DATA_HOME\
-mkdir -p $XDG_CONFIG_HOME\
-mkdir -p $XDG_CACHE_HOME\
+mkdir -p "$XDG_DATA_HOME"\
+mkdir -p "$XDG_CONFIG_HOME"\
+mkdir -p "$XDG_CACHE_HOME"\
'
# update Inkscape version information