/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.341 Revision 1.342
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.341 2010/03/23 03:40:18 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.342 2010/04/19 19:54:47 vapier Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1031 if [[ ${fields:-=} != *=* ]] ; then 1031 if [[ ${fields:-=} != *=* ]] ; then
1032 # 5th arg used to be value to Path= 1032 # 5th arg used to be value to Path=
1033 ewarn "make_desktop_entry: update your 5th arg to read Path=${fields}" 1033 ewarn "make_desktop_entry: update your 5th arg to read Path=${fields}"
1034 fields="Path=${fields}" 1034 fields="Path=${fields}"
1035 fi 1035 fi
1036 [[ -n ${fields} ]] && printf "${fields}\n" >> "${desktop}" 1036 [[ -n ${fields} ]] && printf '%b\n' "${fields}" >> "${desktop}"
1037 1037
1038 ( 1038 (
1039 # wrap the env here so that the 'insinto' call 1039 # wrap the env here so that the 'insinto' call
1040 # doesn't corrupt the env of the caller 1040 # doesn't corrupt the env of the caller
1041 insinto /usr/share/applications 1041 insinto /usr/share/applications

Legend:
Removed from v.1.341  
changed lines
  Added in v.1.342

  ViewVC Help
Powered by ViewVC 1.1.20