summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2019-07-13 13:50:24 +0200
committerMauro Carvalho Chehab2019-07-17 11:57:52 +0200
commitb308467c916aa7acc5069802ab76a9f657434701 (patch)
tree59466def7721767a15f60ca42cc72892390a30e7 /scripts
parentdocs: conf.py: only use CJK if the font is available (diff)
downloadkernel-qcow2-linux-b308467c916aa7acc5069802ab76a9f657434701.tar.gz
kernel-qcow2-linux-b308467c916aa7acc5069802ab76a9f657434701.tar.xz
kernel-qcow2-linux-b308467c916aa7acc5069802ab76a9f657434701.zip
scripts/sphinx-pre-install: fix script for RHEL/CentOS
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>
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 f230e65329a2..101ddd00bf02 100755
--- a/scripts/sphinx-pre-install
+++ b/scripts/sphinx-pre-install
@@ -371,7 +371,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";
}