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 54514b0..f9fa879 100644 |
8 |
--- a/eclass/virtualx.eclass |
9 |
+++ b/eclass/virtualx.eclass |
10 |
@@ -93,9 +93,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 |