summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-22 17:48:18 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-22 17:48:18 +0000
commitaaa572cb963ef5488daed0b6413d311db9e5955b (patch)
treef2886a74e9a53b0fcb09ae42bd53a46beb7a5b56 /eclass
parentVersion bump #163252 by Priit Laes. (diff)
downloadgentoo-2-aaa572cb963ef5488daed0b6413d311db9e5955b.tar.gz
gentoo-2-aaa572cb963ef5488daed0b6413d311db9e5955b.tar.bz2
gentoo-2-aaa572cb963ef5488daed0b6413d311db9e5955b.zip
Restore previous shopt options for bug # 160334
Diffstat (limited to 'eclass')
-rw-r--r--eclass/tla.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/tla.eclass b/eclass/tla.eclass
index 939b45828e9a..9f994de7da0f 100644
--- a/eclass/tla.eclass
+++ b/eclass/tla.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v 1.8 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/tla.eclass,v 1.9 2007/01/22 17:48:18 antarus Exp $
#
# Original Author: Jeffrey Yasskin <jyasskin@mail.utexas.edu>
#
@@ -179,8 +179,10 @@ 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.
cp -Rf "$ETLA_TOP_DIR/$ETLA_CACHE_DIR"/* "${WORKDIR}/${P}"
+ eval "$OLD_SHOPTS"
# implement some of base_src_unpack's functionality;
# note however that base.eclass may not have been inherited!
@@ -197,7 +199,6 @@ tla_src_unpack() {
#fi
einfo "Version ${ETLA_VERSION} is now in ${WORKDIR}/${P}"
-
}
EXPORT_FUNCTIONS src_unpack