summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-10 00:36:49 +0000
committerSam James <sam@gentoo.org>2021-03-10 00:36:49 +0000
commit603e32c9ef68c76e33861604e34a23be826dab3b (patch)
tree378214fd2b57d0b6411d52c2fff04464460c0285 /games-emulation
parentgames-emulation/jrommanager: tidy ebuild (diff)
downloadgentoo-603e32c9ef68c76e33861604e34a23be826dab3b.tar.gz
gentoo-603e32c9ef68c76e33861604e34a23be826dab3b.tar.bz2
gentoo-603e32c9ef68c76e33861604e34a23be826dab3b.zip
games-emulation/jrommanager: fix invalid EROOT usage
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/jrommanager/jrommanager-1.8_p27-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-emulation/jrommanager/jrommanager-1.8_p27-r1.ebuild b/games-emulation/jrommanager/jrommanager-1.8_p27-r1.ebuild
index 3f3dc02f279e..d27e9e521079 100644
--- a/games-emulation/jrommanager/jrommanager-1.8_p27-r1.ebuild
+++ b/games-emulation/jrommanager/jrommanager-1.8_p27-r1.ebuild
@@ -27,7 +27,9 @@ QA_PREBUILT="*"
src_prepare() {
default
- sed -e "/cd.*/s:.*:cd \"${EROOT}/usr/share/${PN}\" || exit:" -i *.sh || die "sed failed!"
+ sed -e "/cd.*/s:.*:cd \"${EPREFIX}/usr/share/${PN}\" || exit:" -i *.sh \
+ || die "sed failed!"
+
unzip -j ${MY_PN}.jar "jrm/resources/rom.png" || die
}