diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-06-25 03:53:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-06-25 03:53:29 +0000 |
commit | 5bbefd9cb8c25af11122cdbe6ab9b7cabb3c9d51 (patch) | |
tree | 3a9cc0751dcabf724e1cdd757a5d0a83dcf6a9f0 /eclass/eutils.eclass | |
parent | syntax updates (diff) | |
download | gentoo-2-5bbefd9cb8c25af11122cdbe6ab9b7cabb3c9d51.tar.gz gentoo-2-5bbefd9cb8c25af11122cdbe6ab9b7cabb3c9d51.tar.bz2 gentoo-2-5bbefd9cb8c25af11122cdbe6ab9b7cabb3c9d51.zip |
save/restore SANDBOX_ON properly
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r-- | eclass/eutils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index f4f8798fe572..9892848ddfc2 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.35 2003/06/22 05:44:04 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.36 2003/06/25 03:53:29 vapier Exp $ # # Author: Martin Schlemmer <azarah@gentoo.org> # @@ -551,7 +551,7 @@ enewuser() { # handle extra and add the user local eextra="$@" - local oldsandbox="${oldsandbox}" + local oldsandbox=${SANDBOX_ON} export SANDBOX_ON="0" if [ -z "${eextra}" ] ; then useradd ${opts} ${euser} \ @@ -623,7 +623,7 @@ enewgroup() { opts="${opts} ${eextra}" # add the group - local oldsandbox="${oldsandbox}" + local oldsandbox=${SANDBOX_ON} export SANDBOX_ON="0" groupadd ${opts} ${egroup} || die "enewgroup failed" export SANDBOX_ON="${oldsandbox}" |