[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH 5/8] virtualx.eclass: Add missing die
From: Justin Lecher <jlec () gentoo ! org>
Date: 2015-11-29 12:24:41
Message-ID: 1448799884-29158-6-git-send-email-jlec () gentoo ! org
[Download RAW message or body]
Signed-off-by: Justin Lecher <jlec@gentoo.org>
---
eclass/virtualx.eclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index 78f5429..3df3fe1 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -92,9 +92,10 @@ virtualmake() {
local i=0
local retval=0
local OLD_SANDBOX_ON="${SANDBOX_ON}"
- local XVFB=$(type -p Xvfb)
- local XHOST=$(type -p xhost)
+ local XVFB XHOST XDISPLAY
local xvfbargs="-screen 0 1280x1024x24"
+ XVFB=$(type -p Xvfb) || die
+ XHOST=$(type -p xhost) || die
# backcompat for maketype
if [[ -n ${maketype} ]]; then
--
2.6.3
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic