/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.174 Revision 1.175
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.174 2005/05/24 05:10:19 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.175 2005/05/25 00:04:25 vapier Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass is for general purpose functions that most ebuilds 7# This eclass is for general purpose functions that most ebuilds
8# have to implement themselves. 8# have to implement themselves.
519 einfo " - Shell: ${eshell}" 519 einfo " - Shell: ${eshell}"
520 opts="${opts} -s ${eshell}" 520 opts="${opts} -s ${eshell}"
521 521
522 # handle homedir 522 # handle homedir
523 local ehome="$1"; shift 523 local ehome="$1"; shift
524 if [ -z "${ehome}" ] && [ "${eshell}" != "-1" ] 524 if [ ! -z "${ehome}" ] && [ "${eshell}" != "-1" ]
525 then 525 then
526 ehome="/dev/null" 526 ehome="/dev/null"
527 fi 527 fi
528 einfo " - Home: ${ehome}" 528 einfo " - Home: ${ehome}"
529 opts="${opts} -d ${ehome}" 529 opts="${opts} -d ${ehome}"

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.175

  ViewVC Help
Powered by ViewVC 1.1.20