summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-13 08:50:24 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-16 10:10:59 +0200
commitad0cf7e48f069273f984d781cd09726f5e289cb0 (patch)
tree4074450f6e8c1425c78a6f18f428c5b1e38edaae /scripts
parent4b3caa47345c29686f0a48940476d8a2435778c0 (diff)
downloadlinux-stable-ad0cf7e48f069273f984d781cd09726f5e289cb0.tar.gz
linux-stable-ad0cf7e48f069273f984d781cd09726f5e289cb0.tar.bz2
linux-stable-ad0cf7e48f069273f984d781cd09726f5e289cb0.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 9be208db88d3..778f3ae91877 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";
}