aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILMostro <ilmostro7@gmail.com>2018-06-27 12:30:34 -0500
committerILMostro <ilmostro7@gmail.com>2018-06-27 12:30:34 -0500
commitaaac7c24d1750f96ddeeba63d1ebf3940fd39e01 (patch)
treee7478109666f24e81253fc82ff11aa44832dad43
parenteselect-luajit was returning hyphen along with version as target. (diff)
downloadag-ops-aaac7c24d1750f96ddeeba63d1ebf3940fd39e01.tar.gz
ag-ops-aaac7c24d1750f96ddeeba63d1ebf3940fd39e01.tar.bz2
ag-ops-aaac7c24d1750f96ddeeba63d1ebf3940fd39e01.zip
eselect-luajit: LVER is not a command, but a variable
-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 31050d6..62a116d 100644
--- a/app-eselect/eselect-luajit/files/luajit.eselect-1
+++ b/app-eselect/eselect-luajit/files/luajit.eselect-1
@@ -26,8 +26,8 @@ set_symlinks() {
local ver=$1
ln -s "${EROOT}"/usr/bin/luajit-$ver "${EROOT}"/usr/bin/luajit
for dir in $(get_libdirs) ; do
- ln -s "${dir}"/luajit-{$ver}/libluajit-$(LVER).so "${dir}"/libluajit.so
- ln -s "${dir}"/luajit-{$ver}/libluajit-$(LVER).a "${dir}"/libluajit.a
+ ln -s "${dir}"/luajit-{$ver}/libluajit-$LVER.so "${dir}"/libluajit.so
+ ln -s "${dir}"/luajit-{$ver}/libluajit-$LVER.a "${dir}"/libluajit.a
ln -s "${dir}"/pkgconfig/luajit{-$ver,}.pc
done
for orig in "${EROOT}"/usr/share/man/man1/luajit-$ver.1* ; do