fix path
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Oct 2019 12:44:36 +0000 (14:44 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Oct 2019 12:44:36 +0000 (14:44 +0200)
bootstrap

index 1ff25a7537216f7e9696f387c14c2c9f0e05d4e1..3972863be8f4834750ef9ff08ca2f03ba6f99058 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -16,7 +16,7 @@ if existence uncrustify; then
     # Install uncrustify format symlink (if possible)
     ln -s contrib/uncrustify.cfg uncrustify.cfg 2> /dev/null
     # Install pre-commit hook (if possible)
-    ln -s contrib/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null
+    ln -s ../../contrib/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null
 else
     echo "Uncrustify not detected, hook not installed. Please install uncrustify if you plan on doing development"
 fi