From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DDF211384B4 for ; Sat, 28 Nov 2015 16:23:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF07A21C116; Sat, 28 Nov 2015 16:21:17 +0000 (UTC) Received: from hetzner3.not-your-server.de (hetzner3.not-your-server.de [144.76.31.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6CF721C0E9 for ; Sat, 28 Nov 2015 16:21:14 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by hetzner3.not-your-server.de (Postfix) with ESMTP id B3F09105824; Sat, 28 Nov 2015 17:21:12 +0100 (CET) X-Virus-Scanned: amavisd-new at not-your-server.de Received: from hetzner3.not-your-server.de ([127.0.0.1]) by localhost (hetzner3.not-your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zBpbRf-YRBZ7; Sat, 28 Nov 2015 17:21:11 +0100 (CET) Received: from leo.ics.kfa-juelich.de (static-2-1002.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1002]) by hetzner3.not-your-server.de (Postfix) with ESMTP id 06AB9105829; Sat, 28 Nov 2015 17:21:10 +0100 (CET) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: Justin Lecher Subject: [gentoo-dev] [PATCH 6/8] virtualx.eclass: Add missing die Date: Sat, 28 Nov 2015 17:21:02 +0100 Message-Id: <1448727664-25886-6-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448727664-25886-1-git-send-email-jlec@gentoo.org> References: <5E6CCF53-839B-4BBD-B9BB-BFF4D70612A0@gentoo.org> <1448727664-25886-1-git-send-email-jlec@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 592d3e4d-282e-4c0d-b751-428c0c21d59f X-Archives-Hash: a0327d95ad2472e5da9ed792f36f9a74 Signed-off-by: Justin Lecher --- eclass/virtualx.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass index 1f90147..d10dbb2 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -94,9 +94,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