summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-15 06:47:21 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-15 06:48:33 +0100
commitfa7c8cbdc736c68fed300994a3d50c43b7c7c776 (patch)
tree18deb5579e2e0e982f13a28527ddb3e8419a2047 /dev-ruby/ruby-mp3info
parentdev-ruby/jbuilder: cleanup (diff)
downloadgentoo-fa7c8cbdc736c68fed300994a3d50c43b7c7c776.tar.gz
gentoo-fa7c8cbdc736c68fed300994a3d50c43b7c7c776.tar.bz2
gentoo-fa7c8cbdc736c68fed300994a3d50c43b7c7c776.zip
dev-ruby/ruby-mp3info: Use T as tmp directory
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-mp3info')
-rw-r--r--dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild b/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild
index d1bfe6bc1172..c9a38b958d32 100644
--- a/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild
+++ b/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild
@@ -22,3 +22,7 @@ IUSE=""
DEPEND+=" test? ( media-sound/id3v2 )"
ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/test-unit:2 )"
+
+all_ruby_prepare() {
+ sed -i -e 's:/tmp/test.mp3:'${T}'/test.mp3:' test/test_ruby-mp3info.rb || die
+}