dev-ruby/netrc: create tmp files where they are allowed
authorHans de Graaff <graaff@gentoo.org>
Fri, 2 Mar 2018 10:32:06 +0000 (11:32 +0100)
committerHans de Graaff <graaff@gentoo.org>
Fri, 2 Mar 2018 10:42:55 +0000 (11:42 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-ruby/netrc/netrc-0.11.0.ebuild

index 1a117d55ab879bfb068a62141238551f6d479a0e..a2304ca9756d567024c5706b01d9acae53fa53d6 100644 (file)
@@ -22,6 +22,7 @@ all_ruby_prepare() {
        # Avoid broken test that wrongly tests ruby internal code, bug 643922
        sed -e '/test_encrypted_roundtrip/,/^  end/ s:^:#:' \
                -e '/test_missing_environment/,/^  end/ s:^:#:' \
+               -e "s:/tmp/:${T}/:" \
                -i test/test_netrc.rb || die
 }