summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-11 20:33:11 +0000
committerMike Frysinger <vapier@gentoo.org>2009-12-11 20:33:11 +0000
commit9bf60adf7d81ec844aeaf925b6039515ac9041a2 (patch)
tree9fc76bd2d6bfe1d0e21c0577bbc74c51e0096b2f /eclass/pam.eclass
parentadd new eshopts_{push,pop} functions to simplify mucking with shell options (diff)
downloadhistorical-9bf60adf7d81ec844aeaf925b6039515ac9041a2.tar.gz
historical-9bf60adf7d81ec844aeaf925b6039515ac9041a2.tar.bz2
historical-9bf60adf7d81ec844aeaf925b6039515ac9041a2.zip
use eshopts_{push,pop} helpers
Diffstat (limited to 'eclass/pam.eclass')
-rw-r--r--eclass/pam.eclass7
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
# }