diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-13 08:25:36 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-03-13 08:25:36 +0000 |
commit | 67b63635b8feb2d455572d7f40c658bfafe8f4fe (patch) | |
tree | a38c3508f85b0c1238eab66c247e802f0843a39c /eclass/virtualx.eclass | |
parent | Fix missing depend and building with x11-libs/libnotify >= 0.7 wrt #357087 by... (diff) | |
download | gentoo-2-67b63635b8feb2d455572d7f40c658bfafe8f4fe.tar.gz gentoo-2-67b63635b8feb2d455572d7f40c658bfafe8f4fe.tar.bz2 gentoo-2-67b63635b8feb2d455572d7f40c658bfafe8f4fe.zip |
Fixup die per gentoo-dev discussion. Thanks to Michal (mgorny) and Pavel (phajdan.jr) for spotting.
Diffstat (limited to 'eclass/virtualx.eclass')
-rw-r--r-- | eclass/virtualx.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 0eb2f407e305..4cf3ec7c8506 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.36 2011/03/09 13:31:51 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.37 2011/03/13 08:25:36 scarabeus Exp $ # Original author: Martin Schlemmer <azarah@gentoo.org> @@ -158,7 +158,7 @@ virtualmake() { fi # die if our command failed - [[ $? -ne 0 ]] && die "${FUNCNAME}: the ${VIRTALX_COMMAND} failed." + [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed." } # @FUNCTION: Xmake |