]> Git Repo - linux.git/commitdiff
docs: Makefile: Use CONFIG_SHELL not SHELL
authorKees Cook <[email protected]>
Thu, 17 Jun 2021 22:58:08 +0000 (15:58 -0700)
committerJonathan Corbet <[email protected]>
Fri, 18 Jun 2021 17:26:08 +0000 (11:26 -0600)
Fix think-o about which variable to find the Kbuild-configured shell.
This has accidentally worked due to most shells setting $SHELL by
default.

Fixes: 51e46c7a4007 ("docs, parallelism: Rearrange how jobserver reservations are made")
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Documentation/Makefile

index 9c42dde97671f21d42fc7f484b0eeb217e5c1014..c3feb657b6548ce222a3f960aae7dc7d11e0e97b 100644 (file)
@@ -76,7 +76,7 @@ quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
        PYTHONDONTWRITEBYTECODE=1 \
        BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
        $(PYTHON3) $(srctree)/scripts/jobserver-exec \
-       $(SHELL) $(srctree)/Documentation/sphinx/parallel-wrapper.sh \
+       $(CONFIG_SHELL) $(srctree)/Documentation/sphinx/parallel-wrapper.sh \
        $(SPHINXBUILD) \
        -b $2 \
        -c $(abspath $(srctree)/$(src)) \
This page took 0.056094 seconds and 4 git commands to generate.