Description: Fix support for multi-word $BROWSER commands. Author: Per Olofsson Bug: https://bugs.freedesktop.org/show_bug.cgi?id=91989 Bug-Debian: http://bugs.debian.org/612339 --- a/scripts/xdg-open.in +++ b/scripts/xdg-open.in @@ -307,8 +307,10 @@ open_generic() open_generic_xdg_x_scheme_handler "$1" + local oldifs="$IFS" IFS=":" for browser in $BROWSER; do + IFS="$oldifs" if [ x"$browser" != x"" ]; then browser_with_arg=`printf "$browser" "$1" 2>/dev/null`