summaryrefslogtreecommitdiff
path: root/roles/tools/files/gio_unwrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roles/tools/files/gio_unwrapper.sh')
-rwxr-xr-xroles/tools/files/gio_unwrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/tools/files/gio_unwrapper.sh b/roles/tools/files/gio_unwrapper.sh
index 5629b28..59886d6 100755
--- a/roles/tools/files/gio_unwrapper.sh
+++ b/roles/tools/files/gio_unwrapper.sh
@@ -13,7 +13,7 @@
13# environments) 13# environments)
14 14
15if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then 15if [ -n "$GIO_LAUNCHED_DESKTOP_FILE" ]; then
16 while [ -n "$1" -a "${1:0:1}" != "/" -a ! -f "$1" ]; do 16 while [ -n "$1" -a "${1:0:1}" != "/" -a "${1:0:7}" != "file://" -a ! -f "$1" ]; do
17 shift 17 shift
18 done 18 done
19 xdg-open "$1" 19 xdg-open "$1"