Skip to content

Commit

Permalink
dev-util/astyle: fix on prefix
Browse files Browse the repository at this point in the history
Ebuild functions like dosym already prepend ${EPREFIX},
so it should not be added in this case (leads to double prefix).

Package-Manager: Portage-2.3.45, Repoman-2.3.10
  • Loading branch information
amadio committed Aug 8, 2018
1 parent 02483bb commit 2974eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-util/astyle/astyle-3.1-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ src_install() {

local libastylename="lib${PN}.so.${PV}.0"
local libastylejname="lib${PN}j.so.${PV}.0"
local libdestdir="${EPREFIX}/usr/$(get_libdir)"
local libdestdir="/usr/$(get_libdir)"

dolib.so "${libastylename}"
dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)"
Expand Down

0 comments on commit 2974eda

Please sign in to comment.