summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-25 00:04:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-25 00:04:25 +0000
commit469df60c1ca59fd150f24180ac34bc0987d57ff2 (patch)
treebe38d91d36e001fc3829caf2caedf506397b5da7 /eclass
parentmake sure we require x11-wm/e (diff)
downloadgentoo-2-469df60c1ca59fd150f24180ac34bc0987d57ff2.tar.gz
gentoo-2-469df60c1ca59fd150f24180ac34bc0987d57ff2.tar.bz2
gentoo-2-469df60c1ca59fd150f24180ac34bc0987d57ff2.zip
make sure passing -1 as home gets you the default
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index b0f5433eed09..e63d1432bdfd 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.174 2005/05/24 05:10:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.175 2005/05/25 00:04:25 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -521,7 +521,7 @@ enewuser() {
# handle homedir
local ehome="$1"; shift
- if [ -z "${ehome}" ] && [ "${eshell}" != "-1" ]
+ if [ ! -z "${ehome}" ] && [ "${eshell}" != "-1" ]
then
ehome="/dev/null"
fi