Summary: | eutils.eclass: make_desktop_entry() could use 'printf %b' for 'fields' arg | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | pchrist |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
![]() ![]() ![]() ![]() i'm guessing you're suggesting: - [[ -n ${fields} ]] && printf "${fields}\n" >> "${desktop}" + [[ -n ${fields} ]] && printf '%b\n' "${fields}" >> "${desktop}" that should be fine Yes, that's what I meant. done then, thanks http://sources.gentoo.org/eclass/eutils.eclass?r1=1.341&r2=1.342 I guess you should update the description to be more precise too. meh |