diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-07-09 11:41:17 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-07-09 11:41:17 +0200 |
commit | 8c3c4b660050062f63f964abd75e83f39ea92136 (patch) | |
tree | 4208c56fbbe5be5c6f02847f74c1d00832396b13 /dev-ruby/rdoc | |
parent | dev-ruby/rdoc: drop unused eutils inherit (diff) | |
download | gentoo-8c3c4b660050062f63f964abd75e83f39ea92136.tar.gz gentoo-8c3c4b660050062f63f964abd75e83f39ea92136.tar.bz2 gentoo-8c3c4b660050062f63f964abd75e83f39ea92136.zip |
dev-ruby/rdoc: fix shebang for gentoo prefix
Thanks to Yiyang Wu <xgreenlandforwyy@gmail.com> for providing a fix
in https://github.com/gentoo/gentoo/pull/21046
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r-- | dev-ruby/rdoc/rdoc-6.3.2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ruby/rdoc/rdoc-6.3.2.ebuild b/dev-ruby/rdoc/rdoc-6.3.2.ebuild index da6953c650d2..c13c72aa8118 100644 --- a/dev-ruby/rdoc/rdoc-6.3.2.ebuild +++ b/dev-ruby/rdoc/rdoc-6.3.2.ebuild @@ -13,7 +13,7 @@ RUBY_FAKEGEM_BINDIR="exe" RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec" -inherit ruby-fakegem +inherit prefix ruby-fakegem DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" HOMEPAGE="https://github.com/ruby/rdoc/" @@ -82,6 +82,7 @@ all_ruby_install() { ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} sed -i -e "1s/env ruby/ruby${version}/" \ "${ED}/usr/bin/${bin}${version}" || die + use prefix && hprefixify "${ED}/usr/bin/${bin}${version}" fi done done |