diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-04-19 19:54:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-19 19:54:47 +0000 |
commit | e54da7542c07b052f4a6efbe2e6bf11570a41b0d (patch) | |
tree | 4055137f5a5f6756b6eb63d3fa728f023eea7cfd /eclass/eutils.eclass | |
parent | Synchronize keywords. (diff) | |
download | historical-e54da7542c07b052f4a6efbe2e6bf11570a41b0d.tar.gz historical-e54da7542c07b052f4a6efbe2e6bf11570a41b0d.tar.bz2 historical-e54da7542c07b052f4a6efbe2e6bf11570a41b0d.zip |
make_desktop_entry: use printf %b to make arg passing simpler since we only want to support embedded escape sequences
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index cf84cdf837a3..7ac958bfe278 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.341 2010/03/23 03:40:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.342 2010/04/19 19:54:47 vapier Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1033,7 +1033,7 @@ make_desktop_entry() { ewarn "make_desktop_entry: update your 5th arg to read Path=${fields}" fields="Path=${fields}" fi - [[ -n ${fields} ]] && printf "${fields}\n" >> "${desktop}" + [[ -n ${fields} ]] && printf '%b\n' "${fields}" >> "${desktop}" ( # wrap the env here so that the 'insinto' call |