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

Diff of /eclass/mysql_fx.eclass

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

Revision 1.20 Revision 1.21
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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/mysql_fx.eclass,v 1.20 2007/04/23 19:35:05 swegener Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql_fx.eclass,v 1.21 2008/03/09 21:07:55 robbat2 Exp $
4 4
5# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 5# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
6# Maintainer: Luca Longinotti <chtekk@gentoo.org> 6# Maintainer: Luca Longinotti <chtekk@gentoo.org>
7 7
8inherit multilib 8inherit multilib
69 69
70 [[ -d "${filesdir}" ]] || die "Source dir must be a directory" 70 [[ -d "${filesdir}" ]] || die "Source dir must be a directory"
71 local flags=$1 pname=$2 71 local flags=$1 pname=$2
72 if [[ $(( $flags & $(( 1 + 4 + 16 )) )) -eq 21 ]] ; then 72 if [[ $(( $flags & $(( 1 + 4 + 16 )) )) -eq 21 ]] ; then
73 einfo "using '${pname}'" 73 einfo "using '${pname}'"
74 mv -f "${filesdir}/${pname}" "${EPATCH_SOURCE}" || die "Couldn't move ${pname}" 74 ln -sf "${filesdir}/${pname}" "${EPATCH_SOURCE}" || die "Couldn't move ${pname}"
75 return 0 75 return 0
76 fi 76 fi
77 77
78 [[ $(( $flags & $(( 2 + 4 )) )) -gt 0 ]] \ 78 [[ $(( $flags & $(( 2 + 4 )) )) -gt 0 ]] \
79 && allelements="${allelements//", version"}" 79 && allelements="${allelements//", version"}"

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20