From b6310d0284cf8cf0ee2e42b4cbf21adfc54a051e Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 19 Apr 2019 13:24:57 +0200 Subject: dev-vcs/overcommit: fix setting hook permissions Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- dev-vcs/overcommit/overcommit-0.47.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev-vcs') 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} } -- cgit v1.2.3-65-gdbad