diff options
author | Hans de Graaff <hans@degraaff.org> | 2019-04-19 13:24:57 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2019-04-19 13:24:57 +0200 |
commit | b6310d0284cf8cf0ee2e42b4cbf21adfc54a051e (patch) | |
tree | b9ec41547f8f6d53a73298d2ac41a7cefc3854a4 /dev-vcs | |
parent | dev-ruby/ruby-saml: add 1.10.1 (diff) | |
download | graaff-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.ebuild | 6 |
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} } |