From 82b832e7a3e1bfb6034edf38c5bab60b1918d81c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=2C=20Lin=29?= Date: Fri, 9 Nov 2018 12:17:08 +0800 Subject: Snap: Fix file loading with path with spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Refer-to: bash(1) - Parameters - Special Parameters - @ Signed-off-by: 林博仁(Buo-ren, Lin) --- packaging/snappy/snapcraft.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') 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 "$@" -- cgit v1.2.3