mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-10 00:04:23 -04:00
fix directory detection in check_spelling.sh when pre-commit hook is linked to prepare-commit.sh
This commit is contained in:
parent
e5fd81ffc3
commit
07aa5598f2
@ -17,9 +17,7 @@
|
|||||||
# -r: deactivate interactive mode to fix errors
|
# -r: deactivate interactive mode to fix errors
|
||||||
# optional argument: list of files to be checked
|
# optional argument: list of files to be checked
|
||||||
|
|
||||||
|
DIR=$(git rev-parse --show-toplevel)/scripts/spell_check
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
|
|
||||||
AGIGNORE=${DIR}/.agignore
|
AGIGNORE=${DIR}/.agignore
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user