[Portland-bugs] [Bug 31444] spurious capture of which in KMIMETYPEFINDER
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Dec 31 02:37:26 PST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=31444
--- Comment #2 from Fathi Boudra <fabo at freedesktop.org> 2010-12-31 02:37:25 PST ---
I guess it's a copy/paste from the KDE3 support code, adapted for KDE4 support:
if [ x"$KDE_SESSION_VERSION" = x"4" ]; then
DEBUG 1 "Running kmimetypefinder \"$1\""
KMIMETYPEFINDER=`which kmimetypefinder 2>/dev/null`
$KMIMETYPEFINDER "$1" 2>/dev/null | head -n 1
else
DEBUG 1 "Running kfile \"$1\""
KFILE=`which kfile 2>/dev/null`
$KFILE "$1" 2> /dev/null | head -n 1 | cut -d "(" -f 2 | cut -d ")" -f 1
fi
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list