summaryrefslogtreecommitdiff
path: root/template/hooks/post-checkout
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-25 22:54:52 -0700
committerMichael Forney <mforney@mforney.org>2016-06-25 22:54:52 -0700
commitadec4a1094dc5cb1a4c9a269532eddc17112e273 (patch)
treefe5feb412a2fc2674fe59bcb88bb6c6b208908d1 /template/hooks/post-checkout
parent4eb283ce9e6b5377a7ce41d834fdc8e9c49e7489 (diff)
Fix perms-hook invocation in /etc
Diffstat (limited to 'template/hooks/post-checkout')
-rwxr-xr-xtemplate/hooks/post-checkout2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/hooks/post-checkout b/template/hooks/post-checkout
index 2a619e25..c7ab2433 100755
--- a/template/hooks/post-checkout
+++ b/template/hooks/post-checkout
@@ -9,4 +9,4 @@ else
set "$old" "$new"
fi
-exec ./libexec/oasis/perms-hook "$@"
+exec "$(git config oasis.root)"/libexec/oasis/perms-hook "$@"