mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Add PWD to prepare-commit
Running using non Cygwin git (Faster on Win) will return a differnt path format to cygwin style. So just make sure scripts is in path so everything else works.
This commit is contained in:
parent
3d1d82e7d2
commit
7037c2936b
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
TOPLEVEL=$(git rev-parse --show-toplevel)
|
TOPLEVEL=$(git rev-parse --show-toplevel)
|
||||||
|
|
||||||
PATH=$TOPLEVEL/scripts:$PATH
|
PATH=$TOPLEVEL/scripts:$PATH:$PWD/scripts
|
||||||
|
|
||||||
if ! tty -s && [[ "$0" =~ /pre-commit ]]; then
|
if ! tty -s && [[ "$0" =~ /pre-commit ]]; then
|
||||||
exec </dev/tty
|
exec </dev/tty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user