public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog tla.eclass
@ 2012-02-26 16:13 Pacho Ramos (pacho)
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2012-02-26 16:13 UTC (permalink / raw
  To: gentoo-commits

pacho       12/02/26 16:13:38

  Modified:             ChangeLog tla.eclass
  Log:
  Convert to eshopts_{push,pop}, bug 328871 by Spanky.

Revision  Changes    Path
1.145                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.145&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.145&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.144&r2=1.145

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- ChangeLog	26 Feb 2012 13:20:59 -0000	1.144
+++ ChangeLog	26 Feb 2012 16:13:38 -0000	1.145
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.144 2012/02/26 13:20:59 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.145 2012/02/26 16:13:38 pacho Exp $
+
+  26 Feb 2012; Pacho Ramos <pacho@gentoo.org> tla.eclass:
+  Convert to eshopts_{push,pop}, bug 328871 by Spanky.
 
   26 Feb 2012; Pacho Ramos <pacho@gentoo.org> eutils.eclass:
   Use correct menu categories for app-* as discussed in gentoo-dev.



1.12                 eclass/tla.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tla.eclass?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tla.eclass?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/tla.eclass?r1=1.11&r2=1.12

Index: tla.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- tla.eclass	27 Dec 2011 17:55:12 -0000	1.11
+++ tla.eclass	26 Feb 2012 16:13:38 -0000	1.12
@@ -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 @@
 	# 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!






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-26 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 16:13 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog tla.eclass Pacho Ramos (pacho)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox