diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-06-21 17:34:34 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-06-21 17:34:34 +0000 |
commit | a951dd6db3b0ba52c7621d9d447be3d204c6c2ba (patch) | |
tree | 44b785ff80e2844731c7102ecdcb7d0489465ebb /eclass | |
parent | Mark 1.8.6 unstable on alpha/ia64/x86 wrt #181110 (diff) | |
download | gentoo-2-a951dd6db3b0ba52c7621d9d447be3d204c6c2ba.tar.gz gentoo-2-a951dd6db3b0ba52c7621d9d447be3d204c6c2ba.tar.bz2 gentoo-2-a951dd6db3b0ba52c7621d9d447be3d204c6c2ba.zip |
save and restore shopt nullglob, bug 160343
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/common-lisp-common.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/common-lisp-common.eclass b/eclass/common-lisp-common.eclass index e6661fe99e2e..5dbe726d1e95 100644 --- a/eclass/common-lisp-common.eclass +++ b/eclass/common-lisp-common.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/common-lisp-common.eclass,v 1.10 2005/10/18 16:36:10 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/common-lisp-common.eclass,v 1.11 2007/06/21 17:34:34 hkbst Exp $ # # Author Matthew Kennedy <mkennedy@gentoo.org> # @@ -134,13 +134,14 @@ reregister-all-common-lisp-implementations() { # Written by Kevin Rosenberg <kmr@debian.org> # GPL-2 license local clc_bin_dir=/usr/$(get_libdir)/common-lisp/bin - shopt -s nullglob + local opt=$(shopt nullglob); shopt -s nullglob cd $clc_bin_dir for impl_bin in *.sh; do impl=$(echo $impl_bin | sed 's/\(.*\).sh/\1/') unregister-common-lisp-implementation $impl register-common-lisp-implementation $impl done + [[ $opt = *off ]] && shopt -u nullglob } # BIG FAT HACK: Since the Portage emerge step kills file timestamp |