summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-12-18 17:01:47 -0800
committerMichael Forney <mforney@mforney.org>2016-12-19 00:05:57 -0800
commit13d25beec6f9bae89a9db636b04e34319d546ac5 (patch)
treeae680388b95fc9d3b0a6b7e1c5a705a05f86f18c
parent52b11128b79c25362db628adbe64765dcf891620 (diff)
Rename perms-hook to applyperms
-rwxr-xr-xtemplate/hooks/post-checkout2
-rwxr-xr-xtemplate/hooks/post-merge2
-rw-r--r--util/applyperms.c (renamed from util/perms-hook.c)0
-rw-r--r--util/gen.rc4
4 files changed, 4 insertions, 4 deletions
diff --git a/template/hooks/post-checkout b/template/hooks/post-checkout
index a4871453..5e59bb5c 100755
--- a/template/hooks/post-checkout
+++ b/template/hooks/post-checkout
@@ -12,4 +12,4 @@ else
set "$old" "$new"
fi
-exec "$(git config oasis.root)"/libexec/oasis/perms-hook "$@"
+exec "$(git config oasis.root)"/libexec/oasis/applyperms "$@"
diff --git a/template/hooks/post-merge b/template/hooks/post-merge
index f8c7404f..b9563d0d 100755
--- a/template/hooks/post-merge
+++ b/template/hooks/post-merge
@@ -1,3 +1,3 @@
#!/bin/sh
-exec "$(git config oasis.root)"/libexec/oasis/perms-hook ORIG_HEAD HEAD
+exec "$(git config oasis.root)"/libexec/oasis/applyperms ORIG_HEAD HEAD
diff --git a/util/perms-hook.c b/util/applyperms.c
index f707af34..f707af34 100644
--- a/util/perms-hook.c
+++ b/util/applyperms.c
diff --git a/util/gen.rc b/util/gen.rc
index aa7c175c..b58854a5 100644
--- a/util/gen.rc
+++ b/util/gen.rc
@@ -3,8 +3,8 @@ cflags\
-Wall -Wextra -Wno-unused-parameter -pedantic\
'-std=c11'
-exe perms-hook perms-hook.c
-file libexec/oasis/perms-hook '$outdir'/perms-hook 755
+exe applyperms applyperms.c
+file libexec/oasis/applyperms '$outdir'/applyperms 755
exe shutdown shutdown.c
file libexec/oasis/shutdown '$outdir'/shutdown 755