summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2019-07-13 13:50:24 +0200
committerGreg Kroah-Hartman2019-08-16 10:12:44 +0200
commit056af94d6e109852305043bca283c24b5d354153 (patch)
tree01dddb09b42f72d11ea2c48adb18dbff9fd3c9e7 /scripts
parentnetfilter: nft_hash: fix symhash with modulus one (diff)
downloadkernel-qcow2-linux-056af94d6e109852305043bca283c24b5d354153.tar.gz
kernel-qcow2-linux-056af94d6e109852305043bca283c24b5d354153.tar.xz
kernel-qcow2-linux-056af94d6e109852305043bca283c24b5d354153.zip
scripts/sphinx-pre-install: fix script for RHEL/CentOS
[ 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 <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sphinx-pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
index 067459760a7b..3524dbc31316 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";
}