/[gentoo-x86]/eclass/elisp-common.eclass
Gentoo

Diff of /eclass/elisp-common.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.44 Revision 1.45
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.44 2008/08/27 11:21:32 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.45 2008/09/01 10:45:26 ulm Exp $
4# 4#
5# Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> 5# Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org>
6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> 6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
7# Copyright 2004-2005 Mamoru Komachi <usata@gentoo.org> 7# Copyright 2004-2005 Mamoru Komachi <usata@gentoo.org>
8# Copyright 2007-2008 Christian Faulhammer <opfer@gentoo.org> 8# Copyright 2007-2008 Christian Faulhammer <opfer@gentoo.org>
196 196
197 [ $# -gt 0 ] || return 1 197 [ $# -gt 0 ] || return 1
198 198
199 ebegin "Compiling GNU Emacs Elisp files" 199 ebegin "Compiling GNU Emacs Elisp files"
200 200
201 tempdir=elc.$$ 201 local tempdir=elc.$$
202 mkdir ${tempdir} 202 mkdir ${tempdir}
203 cp "$@" ${tempdir} 203 cp "$@" ${tempdir}
204 pushd ${tempdir} 204 pushd ${tempdir}
205 205
206 echo "(add-to-list 'load-path \"../\")" > script 206 echo "(add-to-list 'load-path \"../\")" > script
436 done 436 done
437 fi 437 fi
438 438
439 # cleanup 439 # cleanup
440 rm -f "${tmpdir}"/site-{gentoo,start}.el 440 rm -f "${tmpdir}"/site-{gentoo,start}.el
441
442 return 0
441} 443}

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.20