diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-13 08:50:24 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-16 10:13:51 +0200 |
commit | ec03a559e69a9e9eb1468d8f4e3782eb5315ba02 (patch) | |
tree | 31a70dcf93e3adedeb6723dcd420d6674c974617 /scripts | |
parent | 628272f3f3f20b40e608e1e72739fae9efb62bc8 (diff) | |
download | linux-stable-ec03a559e69a9e9eb1468d8f4e3782eb5315ba02.tar.gz linux-stable-ec03a559e69a9e9eb1468d8f4e3782eb5315ba02.tar.bz2 linux-stable-ec03a559e69a9e9eb1468d8f4e3782eb5315ba02.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-x | scripts/sphinx-pre-install | 2 |
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"; } |