mirror of https://github.com/rust-lang/book
Fix default dictionary file paths
This commit is contained in:
parent
e7d52b93ce
commit
a25d1125f2
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue