Skip to content
Snippets Groups Projects
Commit 1a1d78ad authored by 林博仁 Buo-ren Lin's avatar 林博仁 Buo-ren Lin :hourglass_flowing_sand: Committed by Patrick Storz
Browse files

Snap: Fix file loading with path with spaces

Currently the inkscape snap is unable to load file with path with
spaces when opening such files by double clicking them in the file
manager(loading them via the file open dialog works).

This is probably due to the fact that the launcher doesn't quote the
expansion of the `@` special parameter and thus all `word`s in the file
path are applied with word separation.  This patch fixes the syntax.

Fixes Launchpad Bug #1735453.

Refer-to: Bug #1735453 “Cannot open files with whitespaces/spaces in pathn...” : Bugs : Inkscape <https://bugs.launchpad.net/inkscape/+bug/1735453

>
Refer-to: bash(1) - Parameters - Special Parameters - @
Signed-off-by: default avatar林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
(cherry picked from commit 82b832e7)
parent f8dce91b
No related branches found
No related tags found
No related merge requests found
Pipeline #76178810 passed
......@@ -20,4 +20,4 @@ if [ -d "/home/${USER}" ]; then
export HOME="/home/${USER}"
fi
exec $@
exec "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment