Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1077477ybl; Wed, 14 Aug 2019 10:19:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOVu9zllC611sOGvTgIw+4W3ckQMBeeH9UVeIHfxUha+0qnGQVW54v9jkBTpthWMTcTVdg X-Received: by 2002:a17:90b:8c1:: with SMTP id ds1mr785703pjb.114.1565803177049; Wed, 14 Aug 2019 10:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565803177; cv=none; d=google.com; s=arc-20160816; b=G9oH3XZiRHOBHChZ8S9PRlq5r3TUXFbZnvU2zrU+s+CYTzgTnJkOyDO/7S2IYmH2Dn 5MOs0WOGY0h4+fvIFWvUF1HGSw/1iz7IOkWDmsTbGPONwN15jutHJbDOJk3GMahvjdYv iJDCikFXEaeWs/gZFi6fuo5mNQYxZixV87i1lEG9Seb0sQG0BYvJLcgkZtXZ05iGwlvH ZdsTaGSSCVABSwjHlfW1T4PuuKjjaKhrBlqlmIdMcLEjlMJ1TZgQdaVpS6OUdXvee3wz G58bNyKvo7Nf6scOaSrlAJ8/JX6anoRoBzSEDOu6CWhl5NdpykZwLr4oISHwUciu2oHB Bpug== 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=EW9/oP79oa+bwOWSs0vFemMDQyvAoay3VwP+sVKlUEEhhfkZYMHMpgGr7W35kVM7DQ 285t7r5qvtk5y30bzL/9IjEYg17LkJG7yiu1covedUPiOpw/Jg1jYHE1+Dy+C1UCvihZ KVZd9efXnJIh/2u1XUdqwNEfqq+SpoaGlmcDzq1wE5wZtEPYHYDQRHMgDiCu2Ulig4gD ITZFWINpHhgmKHhPZIa0f4UBeAt3zbfAz6rZupWeWIAI34tPpfMNYhxq4jKhKebIzADX dGmUo2qnWzcXlzPLZ+m+tpnKvtcGwga3Mazitn+cw2EwHCRMqtniKZJd+4EHD8GacDRF ZMtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MWijAC9j; 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 g5si230422pjp.10.2019.08.14.10.19.21; Wed, 14 Aug 2019 10:19:37 -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=MWijAC9j; 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 S1730640AbfHNRRa (ORCPT + 99 others); Wed, 14 Aug 2019 13:17:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:37470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730655AbfHNRNP (ORCPT ); Wed, 14 Aug 2019 13:13:15 -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 875D62063F; Wed, 14 Aug 2019 17:13:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802795; bh=H8FDFP5X2a7P0bd89NP2CiZd3e6i1VPxp7ZnyfTSNKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MWijAC9j7KV4gmXlMYSwFSOG4cj7t5pb/mOcsTWDnjbcZHzHWGkW+HCM6LSjI6Vk+ dhpmM244S0Ao4AYrYu7MebUJ6jSNQxTqb2eyDxqVYtN49C6cucT+2PyUk2YdXkught dVjTqWgcfwrPHM9EbaIqKkTQQdjUsvp9bfEIau40= 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.14 29/69] scripts/sphinx-pre-install: fix script for RHEL/CentOS Date: Wed, 14 Aug 2019 19:01:27 +0200 Message-Id: <20190814165747.462079911@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165744.822314328@linuxfoundation.org> References: <20190814165744.822314328@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