]> Git Repo - linux.git/commitdiff
docs: Fix empty parallelism argument
authorKees Cook <[email protected]>
Sat, 22 Feb 2020 00:02:39 +0000 (16:02 -0800)
committerJonathan Corbet <[email protected]>
Tue, 25 Feb 2020 10:11:04 +0000 (03:11 -0700)
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: Rafael J. Wysocki <[email protected]>
Fixes: 51e46c7a4007 ("docs, parallelism: Rearrange how jobserver reservations are made")
Cc: [email protected] # v5.5 only
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Documentation/sphinx/parallel-wrapper.sh

index 7daf5133bdd3144df4f9ae7c624effabaa9e3c01..e54c44ce117d51835f7aeaba820ca48256681915 100644 (file)
@@ -30,4 +30,4 @@ if [ -n "$parallel" ] ; then
        parallel="-j$parallel"
 fi
 
-exec "$sphinx" "$parallel" "$@"
+exec "$sphinx" $parallel "$@"
This page took 0.056341 seconds and 4 git commands to generate.