summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-06-05 18:03:19 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-06-05 18:03:19 +0000
commitcdd4c1c57d1269c0c48db64964ef308c2c91f771 (patch)
treef6172a737f2a45010451035ab40b3951df8f9a93 /eclass
parentRestored dropped keywords. Oops.. (diff)
downloadgentoo-2-cdd4c1c57d1269c0c48db64964ef308c2c91f771.tar.gz
gentoo-2-cdd4c1c57d1269c0c48db64964ef308c2c91f771.tar.bz2
gentoo-2-cdd4c1c57d1269c0c48db64964ef308c2c91f771.zip
Allowing parameters to command to run, for make_desktop_entry
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 22d597ced6f0..95f68c020e1c 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.237 2006/06/04 15:18:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.238 2006/06/05 18:03:19 tupone Exp $
#
# This eclass is for general purpose functions that most ebuilds
# have to implement themselves.
@@ -767,9 +767,9 @@ edos2unix() {
# Great for making those icons in kde/gnome startmenu !
# Amaze your friends ! Get the women ! Join today !
#
-# make_desktop_entry(<binary>, [name], [icon], [type], [path])
+# make_desktop_entry(<command>, [name], [icon], [type], [path])
#
-# binary: what binary does the app run with ?
+# binary: what command does the app run with ?
# name: the name that will show up in the menu
# icon: give your little like a pretty little icon ...
# this can be relative (to /usr/share/pixmaps) or
@@ -900,7 +900,7 @@ Name=${name}
Type=Application
Comment=${DESCRIPTION}
Exec=${exec}
-TryExec=${exec}
+TryExec=${exec%% *}
Path=${path}
Icon=${icon}
Categories=Application;${type};" > "${desktop}"