diff options
Diffstat (limited to 'sys-apps/bat/bat-0.24.0-r1.ebuild')
-rw-r--r-- | sys-apps/bat/bat-0.24.0-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/bat/bat-0.24.0-r1.ebuild b/sys-apps/bat/bat-0.24.0-r1.ebuild index 0c0d2c793320..ada5fae6a7d5 100644 --- a/sys-apps/bat/bat-0.24.0-r1.ebuild +++ b/sys-apps/bat/bat-0.24.0-r1.ebuild @@ -247,8 +247,8 @@ src_install() { einstalldocs - local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out ) - cd ${build_dir[0]} || die "Cannot change directory to ${PN} build" + local build_dir=( "$(cargo_target_dir)"/build/${PN}-*/out ) + cd "${build_dir[0]}" || die "Cannot change directory to ${PN} build" doman assets/manual/bat.1 |