summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-lua/files/lua.eselect-1')
-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 59abc87c848..d6f95109835 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() {