build-docs: Fix shellcheck warnings.

In tools/build-docs line 3:
cd "$(dirname "$0")"/../docs
^-- SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2018-08-03 00:14:48 +00:00 committed by Tim Abbott
parent b47b5c5309
commit a5280d7d02
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -eu
cd "$(dirname "$0")"/../docs
rm -rf _build