summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-04-19 19:54:47 +0000
committerMike Frysinger <vapier@gentoo.org>2010-04-19 19:54:47 +0000
commit819c02be5c02daae1c6ece3939eb7430adf25a0b (patch)
tree0ac9ca857bafe72e926f4af0bec8ae94e889ddbc /eclass/eutils.eclass
parentSynchronize keywords. (diff)
downloadgentoo-2-819c02be5c02daae1c6ece3939eb7430adf25a0b.tar.gz
gentoo-2-819c02be5c02daae1c6ece3939eb7430adf25a0b.tar.bz2
gentoo-2-819c02be5c02daae1c6ece3939eb7430adf25a0b.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.eclass4
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