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
commit33781c30972b89db87b3c8f4f21e39e7aa2b0325 (patch)
treed7cfe2dc4a9083170eb6f6cab0348ff8984ec644 /eclass/user.eclass
parentupdate to new repo with split out intel driver (diff)
downloadgentoo-2-33781c30972b89db87b3c8f4f21e39e7aa2b0325.tar.gz
gentoo-2-33781c30972b89db87b3c8f4f21e39e7aa2b0325.tar.bz2
gentoo-2-33781c30972b89db87b3c8f4f21e39e7aa2b0325.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}