app-forensics/sleuthkit: fix the conditional logic on doc use flag
authorGöktürk Yüksek <gokturk@gentoo.org>
Wed, 16 Aug 2017 22:52:09 +0000 (18:52 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Wed, 16 Aug 2017 22:52:09 +0000 (18:52 -0400)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-forensics/sleuthkit/sleuthkit-4.4.2.ebuild

index 754294c9377deeeca34582acebcbdf48c8c0b55d..adf6fcbf46e31483254cb796a11ded7bb3c067ee 100644 (file)
@@ -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 "")
 }