blob: f28308eeb4fb1eeefcd606967498978f4c0e6967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- ./scripts/xdg-open.in.orig 2018-05-10 10:02:31.000000000 -0500
+++ ./scripts/xdg-open.in 2019-01-25 13:01:17.492733618 -0600
@@ -453,12 +453,6 @@
# pcmanfm only knows how to handle file:// urls and filepaths, it seems.
if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then
local file="$(file_url_to_path "$1")"
-
- # handle relative paths
- if ! echo "$file" | grep -q ^/; then
- file="$(pwd)/$file"
- fi
-
pcmanfm "$file"
else
open_generic "$1"
|