diff options
author | Espen Henriksen <dev@henriksen.is> | 2017-03-28 19:55:54 +0200 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2017-03-29 09:25:14 -0500 |
commit | dd53899da2ac044f815030e82a6fcf357df1dff9 (patch) | |
tree | 59235e8125c934c6087df06b8467dff17fb48ffe /eclass | |
parent | kde-plasma/kscreenlocker: Multiscreen: Fix manual focus on click (diff) | |
download | gentoo-dd53899da2ac044f815030e82a6fcf357df1dff9.tar.gz gentoo-dd53899da2ac044f815030e82a6fcf357df1dff9.tar.bz2 gentoo-dd53899da2ac044f815030e82a6fcf357df1dff9.zip |
eclass/cargo: Don't fail on missing directory
Previously the cargo_src_install step fails when using
`cargo_src_install || die` and no man-directory is
included with the crate. This commit corrects this
behavior and ensures it does not die in those cases.
Package-Manager: Portage-2.3.3
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cargo.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index dae18a866bdd..32d04a2d559b 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -125,7 +125,7 @@ cargo_src_install() { || die "cargo install failed" rm -f "${D}/usr/.crates.toml" - [ -d "${S}/man" ] && doman "${S}/man" + [ -d "${S}/man" ] && doman "${S}/man" || return 0 } fi |