Skip to content

Commit 222a28e

Browse files
keesJonathan Corbet
authored andcommitted
docs: Makefile: Use CONFIG_SHELL not SHELL
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: 51e46c7 ("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]>
1 parent 102caec commit 222a28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
7676
PYTHONDONTWRITEBYTECODE=1 \
7777
BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
7878
$(PYTHON3) $(srctree)/scripts/jobserver-exec \
79-
$(SHELL) $(srctree)/Documentation/sphinx/parallel-wrapper.sh \
79+
$(CONFIG_SHELL) $(srctree)/Documentation/sphinx/parallel-wrapper.sh \
8080
$(SPHINXBUILD) \
8181
-b $2 \
8282
-c $(abspath $(srctree)/$(src)) \

0 commit comments

Comments
 (0)