Index: eutils.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v retrieving revision 1.292 diff -u -r1.292 eutils.eclass --- eutils.eclass 14 Oct 2007 21:55:35 -0000 1.292 +++ eutils.eclass 17 Nov 2007 22:53:28 -0000 @@ -882,11 +882,12 @@ Comment=${DESCRIPTION} Exec=${exec} TryExec=${exec%% *} - Path=${path} Icon=${icon} Categories=${type}; EOF + [[ ${path} ]] && echo "Path=${path}" >> "${desktop}" + ( # wrap the env here so that the 'insinto' call # doesn't corrupt the env of the caller