Commit adc10f5b authored by Kees Cook's avatar Kees Cook Committed by Jonathan Corbet

docs: Fix empty parallelism argument

When there was no parallelism (no top-level -j arg and a pre-1.7
sphinx-build), the argument passed would be empty ("") instead of just
being missing, which would (understandably) badly confuse sphinx-build.
Fix this by removing the quotes.
Reported-by: default avatarRafael J. Wysocki <rafael@kernel.org>
Fixes: 51e46c7a ("docs, parallelism: Rearrange how jobserver reservations are made")
Cc: stable@vger.kernel.org  # v5.5 only
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 53ace119
...@@ -30,4 +30,4 @@ if [ -n "$parallel" ] ; then ...@@ -30,4 +30,4 @@ if [ -n "$parallel" ] ; then
parallel="-j$parallel" parallel="-j$parallel"
fi fi
exec "$sphinx" "$parallel" "$@" exec "$sphinx" $parallel "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment