Gentoo Archives: gentoo-dev

From: Justin Lecher <jlec@g.o>
To: gentoo-dev@l.g.o
Cc: Justin Lecher <jlec@g.o>
Subject: [gentoo-dev] [PATCH 5/8] virtualx.eclass: Add missing die
Date: Sun, 29 Nov 2015 12:27:24
Message-Id: 1448799884-29158-6-git-send-email-jlec@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/8] virtualx.eclass updates version 3 by Justin Lecher
1 Signed-off-by: Justin Lecher <jlec@g.o>
2 ---
3 eclass/virtualx.eclass | 5 +++--
4 1 file changed, 3 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
7 index 78f5429..3df3fe1 100644
8 --- a/eclass/virtualx.eclass
9 +++ b/eclass/virtualx.eclass
10 @@ -92,9 +92,10 @@ virtualmake() {
11 local i=0
12 local retval=0
13 local OLD_SANDBOX_ON="${SANDBOX_ON}"
14 - local XVFB=$(type -p Xvfb)
15 - local XHOST=$(type -p xhost)
16 + local XVFB XHOST XDISPLAY
17 local xvfbargs="-screen 0 1280x1024x24"
18 + XVFB=$(type -p Xvfb) || die
19 + XHOST=$(type -p xhost) || die
20
21 # backcompat for maketype
22 if [[ -n ${maketype} ]]; then
23 --
24 2.6.3