Skip to content

Commit

Permalink
Fix more strict params in docs build (#10710)
Browse files Browse the repository at this point in the history
It seems the docs build script has become more strict around params. `--` instead of `-` has to be used.
  • Loading branch information
ruflin authored Feb 13, 2019
1 parent 5c21777 commit f8c5a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ do
mkdir -p "$dest_dir"
params="--chunk=1"
if [ "$PREVIEW" = "1" ]; then
params="$params -open"
params="$params --open"
fi

if [ -d "$resource_dir" ]; then
params="$params -resource=${resource_dir}"
params="$params --resource=${resource_dir}"
fi

$docs_dir/build_docs.pl $params --doc "$index" -out "$dest_dir"
Expand Down

0 comments on commit f8c5a8e

Please sign in to comment.