commit:     9021f6412d0b9254e381dc72f07556ebce2e7bda
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 19 20:19:27 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Tue Jul 19 20:21:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9021f641

net-mail/notmuch: Put database to correct directory

Package-Manager: portage-2.3.0

 net-mail/notmuch/notmuch-0.22-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.22-r2.ebuild 
b/net-mail/notmuch/notmuch-0.22-r2.ebuild
index 73a9881..28aab24 100644
--- a/net-mail/notmuch/notmuch-0.22-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.22-r2.ebuild
@@ -93,7 +93,8 @@ pkg_setup() {
 
 src_unpack() {
        unpack "${P}".tar.gz
-       cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test-databases/
+       mkdir -p "${S}"/test/test-databases || die
+       cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
 }
 
 src_prepare() {

Reply via email to