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 3415D1384B4 for ; Sun, 29 Nov 2015 12:27:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1058A21C153; Sun, 29 Nov 2015 12:24:57 +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 4B2B021C087 for ; Sun, 29 Nov 2015 12:24:53 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by hetzner3.not-your-server.de (Postfix) with ESMTP id 4E1971057C0; Sun, 29 Nov 2015 13:24:51 +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 nk5zuvvPUwLp; Sun, 29 Nov 2015 13:24:50 +0100 (CET) Received: from leo.ics.kfa-juelich.de (static-2-1006.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1006]) by hetzner3.not-your-server.de (Postfix) with ESMTP id B98701057C4; Sun, 29 Nov 2015 13:24:49 +0100 (CET) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: Justin Lecher Subject: [gentoo-dev] [PATCH 5/8] virtualx.eclass: Add missing die Date: Sun, 29 Nov 2015 13:24:41 +0100 Message-Id: <1448799884-29158-6-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448799884-29158-1-git-send-email-jlec@gentoo.org> References: <565AE956.5060602@gentoo.org> <1448799884-29158-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: 1cdf2c64-9a98-4b4c-aae4-31f4081c9a7d X-Archives-Hash: a630eb90b99f3471d24449f573f56c74 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 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