diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2003-06-08 00:24:48 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2003-06-08 00:24:48 +0000 |
commit | a7037de73d97242cbadbbd42a2e6b7eb34056351 (patch) | |
tree | 45b8df0e45fa06d2bc15ea4c1b5cd01eebd0b6fc /eclass/common-lisp.eclass | |
parent | nls support + a new logo added (diff) | |
download | gentoo-2-a7037de73d97242cbadbbd42a2e6b7eb34056351.tar.gz gentoo-2-a7037de73d97242cbadbbd42a2e6b7eb34056351.tar.bz2 gentoo-2-a7037de73d97242cbadbbd42a2e6b7eb34056351.zip |
better support for installing more than one system
Diffstat (limited to 'eclass/common-lisp.eclass')
-rw-r--r-- | eclass/common-lisp.eclass | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/eclass/common-lisp.eclass b/eclass/common-lisp.eclass index a5c04d2e23b8..6860588d1791 100644 --- a/eclass/common-lisp.eclass +++ b/eclass/common-lisp.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/common-lisp.eclass,v 1.1 2003/06/07 18:44:34 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp.eclass,v 1.2 2003/06/08 00:24:48 mkennedy Exp $ # # Author Matthew Kennedy <mkennedy@gentoo.org> # @@ -27,7 +27,14 @@ common-lisp-install() { } common-lisp-system-symlink() { - dodir /usr/share/common-lisp/systems - dosym /usr/share/common-lisp/source/$CLPACKAGE/$CLPACKAGE.asd \ - /usr/share/common-lisp/systems/$CLPACKAGE.asd + dodir /usr/share/common-lisp/systems/`dirname $CLPACKAGE` + if [ $# -eq 0 ]; then + dosym /usr/share/common-lisp/source/$CLPACKAGE/$CLPACKAGE.asd \ + /usr/share/common-lisp/systems/$CLPACKAGE.asd + else + for p in $@ ; do + dosym /usr/share/common-lisp/source/$CLPACKAGE/$p.asd \ + /usr/share/common-lisp/systems/$p.asd + done + fi } |