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 | ec93ad087abb101c36238a4c2f8748dbee7bee42 (patch) | |
tree | 8618921f7ec29be1e9148ceda7810abadd8952fe /eclass/elisp-common.eclass | |
parent | Enable the DOM inspector (Manifest recommit) (diff) | |
download | gentoo-2-ec93ad087abb101c36238a4c2f8748dbee7bee42.tar.gz gentoo-2-ec93ad087abb101c36238a4c2f8748dbee7bee42.tar.bz2 gentoo-2-ec93ad087abb101c36238a4c2f8748dbee7bee42.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 } |