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

Diff of /eclass/virtualx.eclass

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

Revision 1.36 Revision 1.38
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/virtualx.eclass,v 1.36 2011/03/09 13:31:51 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.38 2011/03/13 19:37:28 scarabeus Exp $
4 4
5# Original author: Martin Schlemmer <azarah@gentoo.org> 5# Original author: Martin Schlemmer <azarah@gentoo.org>
6 6
7# @ECLASS: virtualx.eclass 7# @ECLASS: virtualx.eclass
8# @MAINTAINER: 8# @MAINTAINER:
156 ${VIRTUALX_COMMAND} "$@" 156 ${VIRTUALX_COMMAND} "$@"
157 retval=$? 157 retval=$?
158 fi 158 fi
159 159
160 # die if our command failed 160 # die if our command failed
161 [[ $? -ne 0 ]] && die "${FUNCNAME}: the ${VIRTALX_COMMAND} failed." 161 [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed."
162
163 return 0 # always return 0, it can be altered by failed kill for Xvfb
162} 164}
163 165
164# @FUNCTION: Xmake 166# @FUNCTION: Xmake
165# @DESCRIPTION: 167# @DESCRIPTION:
166# Same as "make", but set up the Xvfb hack if needed. 168# Same as "make", but set up the Xvfb hack if needed.

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20