CI: lint: fix not working as pre-commit symlink (MR 19)
Throw in another realpath, so TOPDIR works as expected after: ln -s $PWD/.ci/lint.sh .git/hooks/pre-commit
This commit is contained in:
parent
5b1ace4f24
commit
fa65935111
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
# simple shell script for now. This script needs find and GNU grep (for -P) and
|
# simple shell script for now. This script needs find and GNU grep (for -P) and
|
||||||
# a shell that knows "local".
|
# a shell that knows "local".
|
||||||
|
|
||||||
TOPDIR="$(realpath "$(dirname "$0")/..")"
|
TOPDIR="$(realpath "$(dirname "$(realpath "$0")")/..")"
|
||||||
CURRENT_FILE=""
|
CURRENT_FILE=""
|
||||||
EXIT_CODE=0
|
EXIT_CODE=0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue