diff options
| author | 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com> | 2018-11-09 04:17:08 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2018-11-10 08:47:13 +0000 |
| commit | 82b832e7a3e1bfb6034edf38c5bab60b1918d81c (patch) | |
| tree | 259c6f73b7fa61e25e91db86026a7a4cb9308ea2 /packaging | |
| parent | Turn OK objects rows icon (diff) | |
| download | inkscape-82b832e7a3e1bfb6034edf38c5bab60b1918d81c.tar.gz inkscape-82b832e7a3e1bfb6034edf38c5bab60b1918d81c.zip | |
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: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
Diffstat (limited to 'packaging')
| -rwxr-xr-x | packaging/snappy/snapcraft.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/snappy/snapcraft.sh b/packaging/snappy/snapcraft.sh index 7e12fe964..1bbb29f2f 100755 --- a/packaging/snappy/snapcraft.sh +++ b/packaging/snappy/snapcraft.sh @@ -3,4 +3,4 @@ export INKSCAPE_PORTABLE_PROFILE_DIR="${SNAP_USER_DATA}" export INKSCAPE_LOCALEDIR="${SNAP}/share/locale/" -exec $@ +exec "$@" |
