Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1078997ybl; Wed, 14 Aug 2019 10:21:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqydSaqqCxM00m2laJulZfXmFpMumEoLHB4iSDK7OPXSt/EHxGFY57ImY56yo6Z58SPeeQ3w X-Received: by 2002:aa7:8201:: with SMTP id k1mr1000111pfi.97.1565803268205; Wed, 14 Aug 2019 10:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803268; cv=none; d=google.com; s=arc-20160816; b=vrNgquD+STi3hkasaE/2ovDd+fR3oaAloPYhjvIJlokpWJRIRDObdg/G0RiUjRjxfC gPk9XPcHJ7WLv5QrhupbidGiuLbZ9cN49mlGFh3GN1MNt/Ep7d0C8jWxSZjqqAjazrLA AAt5xfgdigegydH/JHzQ01oqh7KBTbDEPjOWbXbaOxJiK7CGfWQyYf2iY6Je7pstbQlN 6Cy4eBiEVzSVQt3I+jYLvwFTQKlAGPs0ezc2joDgflLRSfQkIHY5Crvi9HRy3LgE/jhh AWib12IrX1YreMRzXayWNtQKJ4mY80G+Plo0s8+UNHKqQvpodQEXDSM0debRmDMEgblW c0HQ== 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=VPnGZ7J+uPpIEW+l+Qb+8EjHAMLr5VxibBwaoV+fiVY=; b=FfgteQ5VM2p0k25l32F59J2/v8R8QkFF4dgklsCImCLuxbwZKc3jeLAsJyzDz4kPej 5JBxNQWJwxrdKV5Rza3PjEw2yCSYG/Xr0f0fqOmLEKZ+n2fCXQExnJlLO+EvljM4Ofk+ 6mH00VATR9Cn6vFBTVmgFd4MVrbNHksegt+ROHYrVYKq/Fm4XQxzah5d46CB2hlRn9T3 81LN3J1gTjlBtnthQ5zwP2/Z/0+fDpsnU/XxuCMRlizgAjRC3Rh19rTrPTdLb8tmLOTZ IZ9UbQvt+OJVRbJo9B0cEmoOb7TdXe1NfjDjiivYR8OhgxRPxqMcRcJO7hIrnE1x0Z/5 pKWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zyzLzKsD; 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 b6si261696pla.196.2019.08.14.10.20.51; Wed, 14 Aug 2019 10:21:08 -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=zyzLzKsD; 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 S1730555AbfHNRUW (ORCPT + 99 others); Wed, 14 Aug 2019 13:20:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:33834 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730513AbfHNRKt (ORCPT ); Wed, 14 Aug 2019 13:10:49 -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 959382084D; Wed, 14 Aug 2019 17:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802649; bh=H8FDFP5X2a7P0bd89NP2CiZd3e6i1VPxp7ZnyfTSNKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zyzLzKsDd1rBqAq/LZi/9s5jc6MMJYK82JXR5+VQjvHj33Imwx9ZeSwmts01nTaWR 9BSddmqoCioqy5td8VYnt44UxPYWlXfAwWaz9cla8vPSWQl6KhTuuKfzCd7YGyimpw Z9conbC4/uVzMQ0WvGeVNIuePu63R6Wj8I3TQqpA= 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 4.19 38/91] scripts/sphinx-pre-install: fix script for RHEL/CentOS Date: Wed, 14 Aug 2019 19:01:01 +0200 Message-Id: <20190814165751.278778611@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@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 067459760a7b0..3524dbc313163 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -301,7 +301,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