diff options
Diffstat (limited to 'dev-util/ruff/ruff-0.4.7.ebuild')
-rw-r--r-- | dev-util/ruff/ruff-0.4.7.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/ruff/ruff-0.4.7.ebuild b/dev-util/ruff/ruff-0.4.7.ebuild index cef1ac48c858..2bb565341a0f 100644 --- a/dev-util/ruff/ruff-0.4.7.ebuild +++ b/dev-util/ruff/ruff-0.4.7.ebuild @@ -419,7 +419,7 @@ src_compile() { cargo_src_compile --bin ruff local releasedir - releasedir=target/$(usex 'debug' 'debug' 'release') + releasedir=$(cargo_target_dir) ${releasedir}/ruff generate-shell-completion bash > ruff-completion.bash || die ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh || die @@ -435,7 +435,7 @@ src_test() { } src_install() { - local releasedir=target/$(usex 'debug' 'debug' 'release') + local releasedir=$(cargo_target_dir) dobin ${releasedir}/ruff |