Skip to content

Commit

Permalink
dev-ruby/rdoc: fix use of ROOT in EAPI 7
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <[email protected]>
  • Loading branch information
graaff committed Aug 28, 2019
1 parent 128ac9a commit f49882f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-ruby/rdoc/rdoc-6.1.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ all_ruby_install() {
}

pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/rdoc) ]] ; then
if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
fi
}
2 changes: 1 addition & 1 deletion dev-ruby/rdoc/rdoc-6.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ all_ruby_install() {
}

pkg_postinst() {
if [[ ! -n $(readlink "${ROOT}"usr/bin/rdoc) ]] ; then
if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then
eselect ruby set $(eselect --brief --colour=no ruby show | head -n1)
fi
}

0 comments on commit f49882f

Please sign in to comment.