summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-08-28 19:40:12 +0200
committerHans de Graaff <graaff@gentoo.org>2019-08-28 19:40:12 +0200
commitf49882fdcf642df39c6d97ee4397940d9c3d97d5 (patch)
tree096d5a56929bcc91590e04936a2d71fbb56c1320 /dev-ruby/rdoc
parentdev-lang/ruby: add 2.6.4 (diff)
downloadgentoo-f49882fdcf642df39c6d97ee4397940d9c3d97d5.tar.gz
gentoo-f49882fdcf642df39c6d97ee4397940d9c3d97d5.tar.bz2
gentoo-f49882fdcf642df39c6d97ee4397940d9c3d97d5.zip
dev-ruby/rdoc: fix use of ROOT in EAPI 7
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r--dev-ruby/rdoc/rdoc-6.1.2.ebuild2
-rw-r--r--dev-ruby/rdoc/rdoc-6.2.0.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-ruby/rdoc/rdoc-6.1.2.ebuild b/dev-ruby/rdoc/rdoc-6.1.2.ebuild
index c8e481fad35..2b30cbbbc39 100644
--- a/dev-ruby/rdoc/rdoc-6.1.2.ebuild
+++ b/dev-ruby/rdoc/rdoc-6.1.2.ebuild
@@ -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
}
diff --git a/dev-ruby/rdoc/rdoc-6.2.0.ebuild b/dev-ruby/rdoc/rdoc-6.2.0.ebuild
index 7749eef955f..a3decb6aa3f 100644
--- a/dev-ruby/rdoc/rdoc-6.2.0.ebuild
+++ b/dev-ruby/rdoc/rdoc-6.2.0.ebuild
@@ -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
}