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 E574C1384B4 for ; Sat, 28 Nov 2015 13:26:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D929B21C14D; Sat, 28 Nov 2015 13:24:29 +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 5CA7F21C0C2 for ; Sat, 28 Nov 2015 13:24:27 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by hetzner3.not-your-server.de (Postfix) with ESMTP id ECF9910581E; Sat, 28 Nov 2015 14:24:25 +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 fDTHUB0ANUEM; Sat, 28 Nov 2015 14:24:24 +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 B0000105811; Sat, 28 Nov 2015 14:24:24 +0100 (CET) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: Justin Lecher Subject: [gentoo-dev] [PATCH 7/8] virtualx.eclass: Add missing die Date: Sat, 28 Nov 2015 14:24:20 +0100 Message-Id: <1448717061-11581-8-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1448717061-11581-1-git-send-email-jlec@gentoo.org> References: <1448717061-11581-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: f489b94e-ebf0-4be5-a4c8-a6f41531491f X-Archives-Hash: 63ca006d105129c09d88363e8ee7c6a7 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 54514b0..f9fa879 100644 --- a/eclass/virtualx.eclass +++ b/eclass/virtualx.eclass @@ -93,9 +93,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