diff options
author | ILMostro <ilmostro7@gmail.com> | 2018-06-27 16:39:56 -0500 |
---|---|---|
committer | ILMostro <ilmostro7@gmail.com> | 2018-06-27 16:39:56 -0500 |
commit | 9bc8a7e83924679a06864ad7d8357612068e78c6 (patch) | |
tree | 6b3ea663f0ff5c54e1dab04ec64803a2a4def091 | |
parent | included luajit-205.patch (diff) | |
download | ag-ops-9bc8a7e83924679a06864ad7d8357612068e78c6.tar.gz ag-ops-9bc8a7e83924679a06864ad7d8357612068e78c6.tar.bz2 ag-ops-9bc8a7e83924679a06864ad7d8357612068e78c6.zip |
resolved issues with bash parameter expansion in `set_symlinks()` wrt man-page entries
-rw-r--r-- | app-eselect/eselect-luajit/files/luajit.eselect-1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app-eselect/eselect-luajit/files/luajit.eselect-1 b/app-eselect/eselect-luajit/files/luajit.eselect-1 index 62a116d..dae09da 100644 --- a/app-eselect/eselect-luajit/files/luajit.eselect-1 +++ b/app-eselect/eselect-luajit/files/luajit.eselect-1 @@ -24,14 +24,14 @@ remove_symlinks() { set_symlinks() { local ver=$1 - ln -s "${EROOT}"/usr/bin/luajit-$ver "${EROOT}"/usr/bin/luajit + ln -sf "${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}"/pkgconfig/luajit{-$ver,}.pc + ln -sf "${dir}"/luajit-{$ver}/libluajit-$LVER.so "${dir}"/libluajit.so + ln -sf "${dir}"/luajit-{$ver}/libluajit-$LVER.a "${dir}"/libluajit.a + ln -sf "${dir}"/pkgconfig/luajit{-$ver,}.pc done - for orig in "${EROOT}"/usr/share/man/man1/luajit-$ver.1* ; do - ln -s "${orig}" "${orig//$ver}" + for orig in "${EROOT}"/usr/share/man/man1/luajit*$ver.bz2 ; do + ln -s "${orig}" "${orig//-$ver}" done for f in $HEADER_FILES ; do ln -s "${EROOT}"/usr/include/luajit-$ver/$f "${EROOT}"/usr/include |