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

Diff of /eclass/mysql.eclass

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

Revision 1.146 Revision 1.147
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.146 2010/05/13 19:45:47 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.147 2010/08/08 23:31:05 robbat2 Exp $
4 4
5# @ECLASS: mysql.eclass 5# @ECLASS: mysql.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 7# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
8# Maintainers: MySQL Team <mysql-bugs@gentoo.org> 8# Maintainers: MySQL Team <mysql-bugs@gentoo.org>
365 MY_DATADIR="${new_MY_DATADIR}" 365 MY_DATADIR="${new_MY_DATADIR}"
366 fi 366 fi
367 fi 367 fi
368 fi 368 fi
369 369
370 if [ "${MY_SOURCEDIR:-unset}" == "unset" ]; then
370 MY_SOURCEDIR=${SERVER_URI##*/} 371 MY_SOURCEDIR=${SERVER_URI##*/}
371 MY_SOURCEDIR=${MY_SOURCEDIR%.tar*} 372 MY_SOURCEDIR=${MY_SOURCEDIR%.tar*}
373 fi
372 374
373 export MY_SHAREDSTATEDIR MY_SYSCONFDIR 375 export MY_SHAREDSTATEDIR MY_SYSCONFDIR
374 export MY_LIBDIR MY_LOCALSTATEDIR MY_LOGDIR 376 export MY_LIBDIR MY_LOCALSTATEDIR MY_LOGDIR
375 export MY_INCLUDEDIR MY_DATADIR MY_SOURCEDIR 377 export MY_INCLUDEDIR MY_DATADIR MY_SOURCEDIR
376} 378}

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.147

  ViewVC Help
Powered by ViewVC 1.1.20