Skip to content

Commit

Permalink
fix directory detection in check_spelling.sh when pre-commit hook is …
Browse files Browse the repository at this point in the history
…linked to prepare-commit.sh
  • Loading branch information
jef-n committed Feb 7, 2017
1 parent e5fd81f commit 07aa559
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/spell_check/check_spelling.sh
Expand Up @@ -17,9 +17,7 @@
# -r: deactivate interactive mode to fix errors
# optional argument: list of files to be checked



DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR=$(git rev-parse --show-toplevel)/scripts/spell_check

AGIGNORE=${DIR}/.agignore

Expand Down

0 comments on commit 07aa559

Please sign in to comment.