diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-03-16 06:36:02 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-03-16 06:36:02 +0000 |
commit | 3487e49f0369fe523605c93a04ec76cce682dbc3 (patch) | |
tree | 98d34ec2d461b56f19e2372bcd923a3112a44349 /eclass/elisp-common.eclass | |
parent | Enable the DOM inspector (diff) | |
download | historical-3487e49f0369fe523605c93a04ec76cce682dbc3.tar.gz historical-3487e49f0369fe523605c93a04ec76cce682dbc3.tar.bz2 historical-3487e49f0369fe523605c93a04ec76cce682dbc3.zip |
Applied a patch from agriffis regardling the bug $44712. Thanks ;)
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 4b99e3a81004..b97d3c9c5d04 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.5 2004/03/09 17:52:56 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.6 2004/03/16 06:36:02 usata Exp $ # # Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> @@ -26,12 +26,12 @@ elisp-install() { } elisp-site-file-install() { - local sitefile=$1 + local sitefile=$1 my_pn=${2:-${PN}} pushd ${S} - cp ${sitefile} . - D=${S}/ dosed "s:@SITELISP@:${SITELISP}/${PN}:g" $(basename ${sitefile}) + cp ${sitefile} ${T} + sed -i "s:@SITELISP@:${SITELISP}/${my_pn}:g" ${T}/$(basename ${sitefile}) insinto ${SITELISP} - doins ${S}/$(basename ${sitefile}) + doins ${T}/$(basename ${sitefile}) popd } |