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

Diff of /eclass/mysql.eclass

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

Revision 1.115 Revision 1.116
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.eclass,v 1.115 2009/09/08 05:28:03 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.116 2009/10/11 11:42:07 maekke Exp $
4 4
5# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 5# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
6# Maintainer: MySQL Team <mysql-bugs@gentoo.org> 6# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
7# - Luca Longinotti <chtekk@gentoo.org> 7# - Luca Longinotti <chtekk@gentoo.org>
8# - Robin H. Johnson <robbat2@gentoo.org> 8# - Robin H. Johnson <robbat2@gentoo.org>
508 mysql_init_vars 508 mysql_init_vars
509 509
510 unpack ${A} 510 unpack ${A}
511 # Grab the patches 511 # Grab the patches
512 [[ "${MY_EXTRAS_VER}" == "live" ]] && S="${WORKDIR}/mysql-extras" git_src_unpack 512 [[ "${MY_EXTRAS_VER}" == "live" ]] && S="${WORKDIR}/mysql-extras" git_src_unpack
513 513
514 mv -f "${WORKDIR}/${MY_SOURCEDIR}" "${S}" 514 mv -f "${WORKDIR}/${MY_SOURCEDIR}" "${S}"
515 515
516 # Be backwards compatible for now 516 # Be backwards compatible for now
517 if [[ $EAPI != 2 ]]; then 517 if [[ $EAPI != 2 ]]; then
518 mysql_src_prepare 518 mysql_src_prepare
849 if [[ -d "${MY_DATADIR_s}" ]]; then 849 if [[ -d "${MY_DATADIR_s}" ]]; then
850 ewarn "Attempting to use ${MY_DATADIR_s}" 850 ewarn "Attempting to use ${MY_DATADIR_s}"
851 else 851 else
852 eerror "New MY_DATADIR (${MY_DATADIR_s}) does not exist" 852 eerror "New MY_DATADIR (${MY_DATADIR_s}) does not exist"
853 die "Configuration Failed! Please reinstall ${CATEGORY}/${PN}" 853 die "Configuration Failed! Please reinstall ${CATEGORY}/${PN}"
854 fi 854 fi
855 fi 855 fi
856 fi 856 fi
857 857
858 local pwd1="a" 858 local pwd1="a"
859 local pwd2="b" 859 local pwd2="b"

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

  ViewVC Help
Powered by ViewVC 1.1.20