aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILMostro <ilmostro7@gmail.com>2018-06-27 12:27:23 -0500
committerILMostro <ilmostro7@gmail.com>2018-06-27 12:27:23 -0500
commitb1c2a4bec4ff726de64b118feb9bb7a541441458 (patch)
treec000d497cf2c8b9374b76e4e5b96f8a5f9f159db /app-eselect/eselect-luajit/files
parentneeded luajit-2.0.5 customizations, which makes the Makefile resemble the old... (diff)
downloadag-ops-b1c2a4bec4ff726de64b118feb9bb7a541441458.tar.gz
ag-ops-b1c2a4bec4ff726de64b118feb9bb7a541441458.tar.bz2
ag-ops-b1c2a4bec4ff726de64b118feb9bb7a541441458.zip
eselect-luajit was returning hyphen along with version as target.
Added the hyphen to the prefix, in order to easier exclude it with bash `##`
Diffstat (limited to 'app-eselect/eselect-luajit/files')
-rw-r--r--app-eselect/eselect-luajit/files/luajit.eselect-14
1 files changed, 2 insertions, 2 deletions
diff --git a/app-eselect/eselect-luajit/files/luajit.eselect-1 b/app-eselect/eselect-luajit/files/luajit.eselect-1
index bc7e404..31050d6 100644
--- a/app-eselect/eselect-luajit/files/luajit.eselect-1
+++ b/app-eselect/eselect-luajit/files/luajit.eselect-1
@@ -51,8 +51,8 @@ get_libdirs() {
find_targets() {
local dirs
- local prefix="${EROOT}/usr/bin/luajit"
- for f in ${prefix}-2* ; do
+ local prefix="${EROOT}/usr/bin/luajit-"
+ for f in ${prefix}2* ; do
dirs="${dirs} ${f##$prefix}"
done
echo $dirs