diff --git a/media-sound/spot/spot-0.4.0.ebuild b/media-sound/spot/spot-0.4.0.ebuild index 4b1313ed7b..fbfec2d0c4 100644 --- a/media-sound/spot/spot-0.4.0.ebuild +++ b/media-sound/spot/spot-0.4.0.ebuild @@ -442,15 +442,7 @@ src_compile() { cargo_src_compile # meson_src_install won't find spot binary otherwise because cargo.sh isn't used for compiling - if use debug; then - mv "${WORKDIR}/${P}/target/debug/spot" \ - "${WORKDIR}/${P}-build/src/spot" \ - || die - else - mv "${WORKDIR}/${P}/target/release/spot" \ - "${WORKDIR}/${P}-build/src/spot" \ - || die - fi + mv "$(cargo_target_dir)/spot" "${WORKDIR}/${P}-build/src/spot" } src_install() {