slackware-current/source/x/xdg-utils/xdg-open.no.relative.paths.diff
Patrick J Volkerding 97075b27ca Sat Feb 3 20:54:00 UTC 2024
a/glibc-zoneinfo-2024a-noarch-1.txz:  Upgraded.
  This package provides the latest timezone updates.
n/ca-certificates-20240203-noarch-1.txz:  Upgraded.
  This update provides the latest CA certificates to check for the
  authenticity of SSL connections.
x/ibus-libpinyin-1.15.7-x86_64-1.txz:  Upgraded.
x/xdg-utils-1.2.0-noarch-1.txz:  Upgraded.
2024-02-03 22:29:12 +01:00

14 lines
401 B
Diff

--- ./scripts/xdg-open.in.orig 2024-02-03 12:40:07.000000000 -0600
+++ ./scripts/xdg-open.in 2024-02-03 12:45:57.900659000 -0600
@@ -533,11 +533,6 @@
local file
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"