diff options
author | Jonathon Fernyhough | 2021-11-11 23:08:08 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2021-11-11 23:08:08 +0000 |
commit | d7615727dbdbf6f65e50613eb2ad65c0ae618057 (patch) | |
tree | 1bc4370b25fbe324a913a48fa66365242e8daaaf /PKGBUILD | |
parent | fff66716a5bf2bdfef3449abf06ff7c168bef612 (diff) | |
download | aur-d7615727dbdbf6f65e50613eb2ad65c0ae618057.tar.gz |
Small fix for create_links()
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ create_links() { # create soname links find "$pkgdir" -type f -name '*.so*' ! -path '*xorg/*' -print0 | while read -d $'\0' _lib; do _soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true) - _base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/') + _base=$(echo ${_soname} | sed -r 's/(.*)\.so.*/\1.so/') [[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}" [[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}" done |