Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: sphinx-pre-install: properly handle SPHINXBUILD

Currently, the script ignores SPHINXBUILD, making it useless.
As we're about to use on another script, fix support for it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/b0217df871a5e563646d386327bdd7a393c58ac2.1750571906.git.mchehab+huawei@kernel.org

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
c6b5b155 791b9b03

+4
+4
scripts/sphinx-pre-install
··· 245 245 246 246 sub get_sphinx_fname() 247 247 { 248 + if ($ENV{'SPHINXBUILD'}) { 249 + return $ENV{'SPHINXBUILD'}; 250 + } 251 + 248 252 my $fname = "sphinx-build"; 249 253 return $fname if findprog($fname); 250 254