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

Diff of /eclass/eutils.eclass

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

Revision 1.439 Revision 1.440
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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.439 2014/11/13 04:55:06 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.440 2014/11/15 09:49:10 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
901 *) 901 *)
902 type= 902 type=
903 ;; 903 ;;
904 esac 904 esac
905 fi 905 fi
906 local slot=${SLOT%/*}
906 if [ "${SLOT}" == "0" ] ; then 907 if [[ ${slot} == "0" ]] ; then
907 local desktop_name="${PN}" 908 local desktop_name="${PN}"
908 else 909 else
909 local desktop_name="${PN}-${SLOT}" 910 local desktop_name="${PN}-${slot}"
910 fi 911 fi
911 local desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop" 912 local desktop="${T}/$(echo ${exec} | sed 's:[[:space:]/:]:_:g')-${desktop_name}.desktop"
912 #local desktop=${T}/${exec%% *:-${desktop_name}}.desktop 913 #local desktop=${T}/${exec%% *:-${desktop_name}}.desktop
913 914
914 # Don't append another ";" when a valid category value is provided. 915 # Don't append another ";" when a valid category value is provided.

Legend:
Removed from v.1.439  
changed lines
  Added in v.1.440

  ViewVC Help
Powered by ViewVC 1.1.20