commit:     b820d12b7e9152d619ae73cffb9bf79e6fe65cdb
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 16 22:52:09 2017 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 22:52:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b820d12b

app-forensics/sleuthkit: fix the conditional logic on doc use flag

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-forensics/sleuthkit/sleuthkit-4.4.2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-forensics/sleuthkit/sleuthkit-4.4.2.ebuild 
b/app-forensics/sleuthkit/sleuthkit-4.4.2.ebuild
index 754294c9377..adf6fcbf46e 100644
--- a/app-forensics/sleuthkit/sleuthkit-4.4.2.ebuild
+++ b/app-forensics/sleuthkit/sleuthkit-4.4.2.ebuild
@@ -131,7 +131,9 @@ src_compile() {
        fi
 
        # Create the doc output dirs if requested
-       use doc && mkdir -p "${T}"/doc/{api-docs,jni-docs} || die
+       if use doc; then
+               mkdir -p "${T}"/doc/{api-docs,jni-docs} || die
+       fi
 
        emake all $(usex doc api-docs "")
 }

Reply via email to