From 4bb4a1a6f6c2a42771998ecad75a7257c35ea183 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 5 Jun 2006 18:03:19 +0000 Subject: [PATCH] Allowing parameters to command to run, for make_desktop_entry --- eclass/eutils.eclass | 8 ++++---- 1 file 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(, [name], [icon], [type], [path]) +# make_desktop_entry(, [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}" -- 2.26.2