summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonathon Fernyhough2021-11-11 23:08:08 +0000
committerJonathon Fernyhough2021-11-11 23:08:08 +0000
commitd7615727dbdbf6f65e50613eb2ad65c0ae618057 (patch)
tree1bc4370b25fbe324a913a48fa66365242e8daaaf /PKGBUILD
parentfff66716a5bf2bdfef3449abf06ff7c168bef612 (diff)
downloadaur-d7615727dbdbf6f65e50613eb2ad65c0ae618057.tar.gz
Small fix for create_links()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7dbf8145a9b6..1970d8be7943 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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