diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-11 20:33:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-11 20:33:11 +0000 |
commit | 7c95d06a16b5e80ceb3f8b34657377f6c4cf59fb (patch) | |
tree | 3dcfd9cabf736b484ac99d3d994bb6a06c22bce6 /eclass/pam.eclass | |
parent | add new eshopts_{push,pop} functions to simplify mucking with shell options (diff) | |
download | gentoo-2-7c95d06a16b5e80ceb3f8b34657377f6c4cf59fb.tar.gz gentoo-2-7c95d06a16b5e80ceb3f8b34657377f6c4cf59fb.tar.bz2 gentoo-2-7c95d06a16b5e80ceb3f8b34657377f6c4cf59fb.zip |
use eshopts_{push,pop} helpers
Diffstat (limited to 'eclass/pam.eclass')
-rw-r--r-- | eclass/pam.eclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/pam.eclass b/eclass/pam.eclass index 4922dd35d0ce..317c6443a52f 100644 --- a/eclass/pam.eclass +++ b/eclass/pam.eclass @@ -1,7 +1,7 @@ # Copyright 2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later # Author Diego Pettenò <flameeyes@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.17 2008/06/28 19:57:40 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.18 2009/12/11 20:33:11 vapier Exp $ # # This eclass contains functions to install pamd configuration files and # pam modules. @@ -212,10 +212,9 @@ pam_epam_expand() { # Think about it before uncommenting this one, for now run it by hand # pam_pkg_preinst() { -# local shopts=$- -# set -o noglob # so that bash doen't expand "*" +# eshopts_push -o noglob # so that bash doen't expand "*" # # pam_epam_expand "${D}"/etc/pam.d/* # -# set +o noglob; set -$shopts # reset old shell opts +# eshopts_pop # reset old shell opts # } |