diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-02-26 16:13:38 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-02-26 16:13:38 +0000 |
commit | 9939efc4d23fc1b338adf01a562587f3a34e4250 (patch) | |
tree | 28491fee7148557eae37c2be3e474296235ea65d /eclass/tla.eclass | |
parent | removing obsolete mask on dev-lang/open64 that was removed from tree (diff) | |
download | historical-9939efc4d23fc1b338adf01a562587f3a34e4250.tar.gz historical-9939efc4d23fc1b338adf01a562587f3a34e4250.tar.bz2 historical-9939efc4d23fc1b338adf01a562587f3a34e4250.zip |
Convert to eshopts_{push,pop}, bug 328871 by Spanky.
Diffstat (limited to 'eclass/tla.eclass')
-rw-r--r-- | eclass/tla.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/tla.eclass b/eclass/tla.eclass index 551087ff9a3e..e6cee2f977db 100644 --- a/eclass/tla.eclass +++ b/eclass/tla.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v 1.11 2011/12/27 17:55:12 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v 1.12 2012/02/26 16:13:38 pacho Exp $ # # Original Author: Jeffrey Yasskin <jyasskin@mail.utexas.edu> # @@ -17,6 +17,7 @@ # TODO: # Make it support particular revisions. +inherit eutils # Don't download anything other than the tla archive SRC_URI="" @@ -179,10 +180,9 @@ tla_src_unpack() { # Use ${WORKDIR}/${P} rather than ${S} so user can point ${S} to something inside. mkdir -p "${WORKDIR}/${P}" - local OLD_SHOPTS=$(shopt -p) - shopt -s dotglob # get any dotfiles too. + eshopts_push -s dotglob # get any dotfiles too. cp -Rf "$ETLA_TOP_DIR/$ETLA_CACHE_DIR"/* "${WORKDIR}/${P}" - eval "$OLD_SHOPTS" + eshopts_pop # implement some of base_src_unpack's functionality; # note however that base.eclass may not have been inherited! |