[Portland-bugs] [Bug 89902] xdg-open does not exit if it does not recognize the mimetype
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Apr 11 15:52:01 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89902
--- Comment #12 from rkfg <rkfg at rkfg.me> ---
(In reply to Rex Dieter from comment #7)
> Went ahead and committed the immediate fix,
> http://cgit.freedesktop.org/xdg/xdg-utils/commit/
> ?id=3e9a91b44d8d4639000fbe2b49ee303cd3f836e0
>
> I'd still be interested in output per comment #5 if you don't mind (to help
> find out why xdg-open would not exit properly).
Typo:
--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -276,7 +276,7 @@ open_generic()
file_check=${file_check%%\?*}
check_input_file "$file_check"
- filetype=`xdg-mime query filetype "$filecheck" | sed "s/;.*//"`
+ filetype=`xdg-mime query filetype "$file_check" | sed "s/;.*//"`
open_generic_xdg_mime "$file" "$filetype"
if which run-mailcap 2>/dev/null 1>&2; then
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20150411/f9613701/attachment.html>
More information about the Portland-bugs
mailing list