diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-03-27 19:27:57 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2019-03-27 19:27:57 +0200 |
commit | 283ee0ba0a1540a9e8e8d68625d89315a5356162 (patch) | |
tree | 8c98035db610bf8c1a66c42762869197a5a4ccda /doc/asciidoc-helper.sh | |
parent | 00ca3d04cfa0625349a47d1a2f7c16ac66e7822d (diff) | |
download | tor-283ee0ba0a1540a9e8e8d68625d89315a5356162.tar.gz tor-283ee0ba0a1540a9e8e8d68625d89315a5356162.zip |
Fix SC2086 warnings in asciidoc-helper.sh
Diffstat (limited to 'doc/asciidoc-helper.sh')
-rwxr-xr-x | doc/asciidoc-helper.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/asciidoc-helper.sh b/doc/asciidoc-helper.sh index a3ef53f884..765850a125 100755 --- a/doc/asciidoc-helper.sh +++ b/doc/asciidoc-helper.sh @@ -19,7 +19,7 @@ if [ "$1" = "html" ]; then base=${output%%.html.in} if [ "$2" != none ]; then - TZ=UTC "$2" -d manpage -o $output $input; + TZ=UTC "$2" -d manpage -o "$output" "$input"; else echo "=================================="; echo; @@ -44,8 +44,8 @@ elif [ "$1" = "man" ]; then echo "=================================="; exit 1; fi - if "$2" -f manpage $input; then - mv $base.1 $output; + if "$2" -f manpage "$input"; then + mv "$base.1" "$output"; else cat<<EOF ================================== |