/[gentoo-x86]/eclass/alternatives.eclass
Gentoo

Diff of /eclass/alternatives.eclass

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

Revision 1.10 Revision 1.11
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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/alternatives.eclass,v 1.10 2005/07/06 20:20:03 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/alternatives.eclass,v 1.11 2005/07/06 20:23:20 agriffis Exp $
4 4
5# Author : Alastair Tse <liquidx@gentoo.org> (03 Oct 2003) 5# Author : Alastair Tse <liquidx@gentoo.org> (03 Oct 2003)
6# Short Desc: Creates symlink to the latest version of multiple slotted 6# Short Desc: Creates symlink to the latest version of multiple slotted
7# packages. 7# packages.
8# 8#
40# 40#
41# This will use bash pathname expansion to fill a list of alternatives it can 41# This will use bash pathname expansion to fill a list of alternatives it can
42# link to. It is probably more robust against version upgrades. You should 42# link to. It is probably more robust against version upgrades. You should
43# consider using this unless you are want to do something special. 43# consider using this unless you are want to do something special.
44# 44#
45INHERITED="$INHERITED $ECLASS"
46 45
47# automatic deduction based on a symlink and a regex mask 46# automatic deduction based on a symlink and a regex mask
48alternatives_auto_makesym() { 47alternatives_auto_makesym() {
49 local SYMLINK REGEX ALT myregex 48 local SYMLINK REGEX ALT myregex
50 SYMLINK=$1 49 SYMLINK=$1

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20