summaryrefslogtreecommitdiff
path: root/bin/post-commit.githook
diff options
context:
space:
mode:
Diffstat (limited to 'bin/post-commit.githook')
-rwxr-xr-xbin/post-commit.githook2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/post-commit.githook b/bin/post-commit.githook
index 3f576e6..997afa3 100755
--- a/bin/post-commit.githook
+++ b/bin/post-commit.githook
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
-d="$(dirname -- "$0")"
+d="$(dirname -- "$(readlink -f -- "$0")")"
"$d"/auto-changelog
"$d"/pre-generate &>/dev/tty &