summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-01-10 20:43:51 +0100
committerFabian Groffen <grobian@gentoo.org>2016-01-10 20:47:08 +0100
commitaded1d3dfcf783a6364fa83cd21c059d535c73bd (patch)
treeb450370423a9c0c34da41692cff1a7eed070b9f7 /app-eselect
parentdev-db/sqlitebrowser: Version bump (thanks Fabio Rossi, bug 571048). (diff)
downloadgentoo-aded1d3dfcf783a6364fa83cd21c059d535c73bd.tar.gz
gentoo-aded1d3dfcf783a6364fa83cd21c059d535c73bd.tar.bz2
gentoo-aded1d3dfcf783a6364fa83cd21c059d535c73bd.zip
app-eselect/eselect-lua: make get_libdirs reflect the prefix
Package-Manager: portage-2.2.20-prefix
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-lua/files/lua.eselect-14
1 files changed, 2 insertions, 2 deletions
diff --git a/app-eselect/eselect-lua/files/lua.eselect-1 b/app-eselect/eselect-lua/files/lua.eselect-1
index 59abc87c8484..d6f951098354 100644
--- a/app-eselect/eselect-lua/files/lua.eselect-1
+++ b/app-eselect/eselect-lua/files/lua.eselect-1
@@ -43,9 +43,9 @@ get_libdirs() {
[[ -L ${EROOT}/usr/${dir} ]] && continue
ls "${EROOT}"/usr/${dir}/liblua*.* > /dev/null 2>&1 || continue
- libdirs+=' '/usr/${dir}
+ libdirs+=' '${EPREFIX}/usr/${dir}
done
- echo ${libdirs:-/usr/lib}
+ echo ${libdirs:-${EPREFIX}/usr/lib}
}
find_targets() {