diff options
author | classabbyamp <dev@placeviolette.net> | 2022-05-13 20:13:57 +0000 |
---|---|---|
committer | Echo <michal@vasilek.cz> | 2022-05-13 20:16:58 +0000 |
commit | fb9aef712b119ab57c02a177a8731a6e4c441f85 (patch) | |
tree | 4d9c1d396d8b0639ee2477f25d8328e6115a49fe | |
parent | 5ec2556004b445a7d50a043606619722c630fde4 (diff) | |
download | void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.tar void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.tar.gz void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.tar.bz2 void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.tar.lz void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.tar.xz void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.tar.zst void-packages-fb9aef712b119ab57c02a177a8731a6e4c441f85.zip |
common/hooks/pre-pkg/04-generate-runtime-deps.sh: fix sorequires
-rw-r--r-- | common/hooks/pre-pkg/04-generate-runtime-deps.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh index 987b0cece9c..eb19ebfe708 100644 --- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh +++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh @@ -144,7 +144,7 @@ hook() { if [ "${_pkgname}" != "${pkgname}" ]; then echo " SONAME: $f <-> ${_sdep}" - sorequires+="${f}\n" + sorequires+="${f} " else # Ignore libs by current pkg echo " SONAME: $f <-> ${_rdep} (ignored)" @@ -162,9 +162,9 @@ hook() { store_pkgdestdir_rundeps for f in ${shlib_requires}; do - sorequires+="${f}\n" + sorequires+="${f} " done if [ -n "${sorequires}" ]; then - echo "${sorequires}" | sort | xargs > ${PKGDESTDIR}/shlib-requires + echo "${sorequires}" | xargs -n1 | sort | xargs > ${PKGDESTDIR}/shlib-requires fi } |