Skip to content

Commit adc10f5

Browse files
keesJonathan Corbet
authored andcommitted
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: Rafael J. Wysocki <[email protected]> Fixes: 51e46c7 ("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]>
1 parent 53ace11 commit adc10f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/sphinx/parallel-wrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ if [ -n "$parallel" ] ; then
3030
parallel="-j$parallel"
3131
fi
3232

33-
exec "$sphinx" "$parallel" "$@"
33+
exec "$sphinx" $parallel "$@"

0 commit comments

Comments
 (0)