summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2019-04-19 13:24:57 +0200
committerHans de Graaff <hans@degraaff.org>2019-04-19 13:24:57 +0200
commitb6310d0284cf8cf0ee2e42b4cbf21adfc54a051e (patch)
treeb9ec41547f8f6d53a73298d2ac41a7cefc3854a4 /dev-vcs
parentdev-ruby/ruby-saml: add 1.10.1 (diff)
downloadgraaff-b6310d0284cf8cf0ee2e42b4cbf21adfc54a051e.tar.gz
graaff-b6310d0284cf8cf0ee2e42b4cbf21adfc54a051e.tar.bz2
graaff-b6310d0284cf8cf0ee2e42b4cbf21adfc54a051e.zip
dev-vcs/overcommit: fix setting hook permissions
Signed-off-by: Hans de Graaff <hans@degraaff.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/overcommit/overcommit-0.47.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-vcs/overcommit/overcommit-0.47.0.ebuild b/dev-vcs/overcommit/overcommit-0.47.0.ebuild
index db9be97b..4b20ff03 100644
--- a/dev-vcs/overcommit/overcommit-0.47.0.ebuild
+++ b/dev-vcs/overcommit/overcommit-0.47.0.ebuild
@@ -29,8 +29,8 @@ ruby_add_rdepend "
each_ruby_install() {
each_fakegem_install
- local hooks
- hooks="$(ruby_fakegem_gemsdir)/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/template-dir/hooks"
+ local hookdir
+ hookdir="$(ruby_fakegem_gemsdir)/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}/template-dir/hooks"
- fperms 0755 "${hooks}"/*
+ fperms 0755 "${hookdir}"/{commit-msg,overcommit-hook,post-checkout,post-commit,post-merge,post-rewrite,pre-commit,prepare-commit-msg,pre-push,pre-rebase}
}