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 | 590d0c758e1287b7088a1d5e4f1a811b053cf0df (patch) | |
tree | 59a8cf7a11af7c1779e3c9792b70e5fb6e8719ee | |
parent | nls support + a new logo added (diff) | |
download | historical-590d0c758e1287b7088a1d5e4f1a811b053cf0df.tar.gz historical-590d0c758e1287b7088a1d5e4f1a811b053cf0df.tar.bz2 historical-590d0c758e1287b7088a1d5e4f1a811b053cf0df.zip |
better support for installing more than one system
-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 } |