diff --git a/ci/spellcheck.sh b/ci/spellcheck.sh index 980e635e..ac5351ec 100755 --- a/ci/spellcheck.sh +++ b/ci/spellcheck.sh @@ -41,13 +41,13 @@ aspell --version shopt -s nullglob -dict_filename=./dictionary.txt +dict_filename=./ci/dictionary.txt markdown_sources=(./src/*.md) mode="check" # aspell repeatedly modifies personal dictionary for some purpose, # so we should use a copy of our dictionary -dict_path="/tmp/$dict_filename" +dict_path="/tmp/dictionary.txt" if [[ "$1" == "list" ]]; then mode="list"