commit:     4e6ab108c22d2ae3500edda1343a49f1bf3633ad
Author:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
AuthorDate: Wed Jan 11 16:45:40 2023 +0000
Commit:     YOSHIOKA Takuma <lo48576 <AT> hard-wi <DOT> red>
CommitDate: Wed Jan 11 16:45:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e6ab108

app-misc/watchexec: fix source directory path

Closes: https://bugs.gentoo.org/890389
Signed-off-by: YOSHIOKA Takuma <lo48576 <AT> hard-wi.red>

 app-misc/watchexec/watchexec-1.21.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-misc/watchexec/watchexec-1.21.0.ebuild 
b/app-misc/watchexec/watchexec-1.21.0.ebuild
index 9426909c8..08e99dc8c 100644
--- a/app-misc/watchexec/watchexec-1.21.0.ebuild
+++ b/app-misc/watchexec/watchexec-1.21.0.ebuild
@@ -322,7 +322,6 @@ KEYWORDS="~amd64 ~x86"
 # Prevent portage from trying to fetch bunch of *.crate from mirror despite 
they are not mirrored.
 RESTRICT="mirror"
 
-S="${WORKDIR}/${PN}-cli-v${PV}"
 DOCS=( crates/cli/README.md )
 HTML_DOCS=( doc/watchexec.1.html )
 
@@ -339,7 +338,7 @@ src_test() {
 }
 
 src_install() {
-       cargo_src_install --path crates/cli
+       cargo_src_install --path "${S}"/crates/cli
 
        einstalldocs
        doman doc/watchexec.1

Reply via email to