Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1085528ybl; Wed, 14 Aug 2019 10:27:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEUmnsyoNIo76QYFtKtlm08zD55yeM8DTMJ/SE8h5oiMmzulxf5wakUhiGJdvPtTGqCMiv X-Received: by 2002:aa7:9882:: with SMTP id r2mr1095700pfl.146.1565803663207; Wed, 14 Aug 2019 10:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803663; cv=none; d=google.com; s=arc-20160816; b=zTVoXepacaAJYzl6/hbpGdub6Ir0WsK2X2f2ef2kZhxMi7Iuh0nvVcvWbbfDK1vkG5 ozIakL3S/NXOeRwDIramWhoCihY1AGW7O1xpR//gX6Scw1zgAyu12YjDmFnwpBOb4/0E LmraODi7+FDScveUitLNHRnBPt/RNBTa6abuXfLm++EKW0WSC5ZCjcmLcZXTi9aXJH34 N9lZzHhdqgiQvCdam6XYZfXa+HpaUV2MP+oiswhyXqDfpvxreD2rsodRQhDws5XOAt4L NSYc1rjZwusb3F/iils29dFnmJs+icn82moY5EmxLCUH315WFHFxsvn6vFGfeE2Cdpb+ qMdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=afDP6fXh0Aqe89eOgOkPZjcQ/uS2zNutua/ygAgjg5I=; b=SFEOls4AisFN5UVfabK9OuLkqgtaHqcPKfs+VX3ekkxeVbPygeGsI1agcRi+Phdnvb ztcAhbwPLcpnodyKLQcoA61U/jFMNn/03Ac3KP5yYtrOlcr9KZgNcsvpxEZNefgWHi3H OrEs+SlOV9WiJ9pBX6LptnDyzC1VXCKNCgI4/MtNp27Wj5s1q7ieVJrWVPDkRBLFv+K1 zmL6LGaA/SBruvWHWRmspU/WkUKesFV8Oht1emSUT9OyEzTsmNExsSJ77rB/Wg+6HC0h r5WlxFR8zUwcHupRqNkjqji/lUgMTdeoNJ6IZrG5Z/wRhopb42nqBM5QKKpTpdit7x4E UyTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Dp3lLOU6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si203387pgk.309.2019.08.14.10.27.27; Wed, 14 Aug 2019 10:27:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Dp3lLOU6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728277AbfHNRFM (ORCPT + 99 others); Wed, 14 Aug 2019 13:05:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:54028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729366AbfHNRFH (ORCPT ); Wed, 14 Aug 2019 13:05:07 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A4852208C2; Wed, 14 Aug 2019 17:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802307; bh=I6jrD+9sEDG0rP0Kpf9ZIM/0DZYLCKuF5SL2Mdn9uKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dp3lLOU6s4vCPOKqKjcLblL72Zgl/qLbyFLO3GMBQtObjb3q7gDQKzYWuY9ANWczX aOIz6HtkyBUei32WL0wTAHuO7Jp2doH7ts4NssPHa2YwJBXHGsgG7DQDR5UeOBWV+S 3nkYIVX6wCR9wsLrmvzJNV/OgImUa7ZUU0nIQwPA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.2 057/144] scripts/sphinx-pre-install: fix script for RHEL/CentOS Date: Wed, 14 Aug 2019 19:00:13 +0200 Message-Id: <20190814165802.219114463@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165759.466811854@linuxfoundation.org> References: <20190814165759.466811854@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit b308467c916aa7acc5069802ab76a9f657434701 ] There's a missing parenthesis at the script, with causes it to fail to detect non-Fedora releases (e. g. RHEL/CentOS). Tested with Centos 7.6.1810. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- scripts/sphinx-pre-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 9be208db88d3a..778f3ae918775 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -364,7 +364,7 @@ sub give_redhat_hints() # # Checks valid for RHEL/CentOS version 7.x. # - if (! $system_release =~ /Fedora/) { + if (!($system_release =~ /Fedora/)) { $map{"virtualenv"} = "python-virtualenv"; } -- 2.20.1