aboutsummaryrefslogtreecommitdiff
path: root/bin/build_html
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-11-15 10:44:06 -0500
committerNick Mathewson <nickm@torproject.org>2023-11-15 10:44:06 -0500
commita0d3004859f918d9d542a0526aa76252e1648c66 (patch)
tree84f954c77d9c95c7600ce36293a4d9231bc00479 /bin/build_html
parent08f943c32dbb8b35f57f1b11d5ae2b8004627ae5 (diff)
downloadtorspec-a0d3004859f918d9d542a0526aa76252e1648c66.tar.gz
torspec-a0d3004859f918d9d542a0526aa76252e1648c66.zip
Fix several shellcheck warnings
Diffstat (limited to 'bin/build_html')
-rwxr-xr-xbin/build_html6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build_html b/bin/build_html
index 069901e..b6ee26d 100755
--- a/bin/build_html
+++ b/bin/build_html
@@ -2,9 +2,9 @@
set -e -u -o pipefail -x
-: ${MDBOOK:=mdbook}
+: "${MDBOOK:=mdbook}"
-TOPLEVEL=$(realpath $(dirname "$0"))/..
+TOPLEVEL=$(realpath "$(dirname "$0")")/..
cd "${TOPLEVEL}"
./bin/reindex
@@ -72,7 +72,7 @@ fi
# mdbook-linkcheck is a non-obvious dependency, and the mdbook output when it's
# not found doesn't spell out how to install it.
if ! command -v mdbook-linkcheck; then
- echo 'ERROR: mdbook-linkcheck not found. You should probably install it with `cargo install mdbook-linkcheck`'
+ echo 'ERROR: mdbook-linkcheck not found. You should probably install it with "cargo install mdbook-linkcheck"'
exit 1
fi