Skip to content
Permalink
Browse files

fix directory detection in check_spelling.sh when pre-commit hook is …

…linked to prepare-commit.sh
  • Loading branch information
jef-n committed Feb 7, 2017
1 parent e5fd81f commit 07aa5598f21811c8c9fbbbd98d149d610fd232b6
Showing with 1 addition and 3 deletions.
  1. +1 −3 scripts/spell_check/check_spelling.sh
@@ -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

0 comments on commit 07aa559

Please sign in to comment.
You can’t perform that action at this time.