summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-11-04 13:08:23 +0000
committerNaohiro Aota <naota@gentoo.org>2011-11-04 13:08:23 +0000
commitb1d8f2b42b2436a0399a6a3a0662b53a709cb5a4 (patch)
tree74ded06ca5199171c485a3fd7c5184059a18791d /eclass/user.eclass
parentupdate to new repo with split out intel driver (diff)
downloadhistorical-b1d8f2b42b2436a0399a6a3a0662b53a709cb5a4.tar.gz
historical-b1d8f2b42b2436a0399a6a3a0662b53a709cb5a4.tar.bz2
historical-b1d8f2b42b2436a0399a6a3a0662b53a709cb5a4.zip
Change possible mis-used ${action} to ${db}
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r--eclass/user.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/user.eclass b/eclass/user.eclass
index 553161139749..575bb685faa2 100644
--- a/eclass/user.eclass
+++ b/eclass/user.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/user.eclass,v 1.9 2011/11/03 15:29:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/user.eclass,v 1.10 2011/11/04 13:08:23 naota Exp $
# @ECLASS: user.eclass
# @MAINTAINER:
@@ -78,10 +78,10 @@ egetent() {
# lookup by uid/gid
local opts
if [[ ${key} == [[:digit:]]* ]] ; then
- [[ ${action} == "user" ]] && opts="-u" || opts="-g"
+ [[ ${db} == "user" ]] && opts="-u" || opts="-g"
fi
- pw show ${action} ${opts} "${key}" -q
+ pw show ${db} ${opts} "${key}" -q
;;
*-netbsd*|*-openbsd*)
grep "${key}:\*:" /etc/${db}