diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-20 19:25:58 +0100 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2023-03-20 19:26:38 +0100 |
commit | 550c1831733f61c4af8e32179dc7df39bcd7a1de (patch) | |
tree | 4c438bb98ba691c0547dd1034128b046ffcc75b5 /subr.pkg | |
parent | 4ad93ea7d03277735a8688943d00645dda4efc94 (diff) | |
download | midipix_build-550c1831733f61c4af8e32179dc7df39bcd7a1de.tar.bz2 midipix_build-550c1831733f61c4af8e32179dc7df39bcd7a1de.tar.xz |
Document subr.rtl/*.subr functions, pt. I.
Diffstat (limited to 'subr.pkg')
-rw-r--r-- | subr.pkg/pkg_install_libs.subr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subr.pkg/pkg_install_libs.subr b/subr.pkg/pkg_install_libs.subr index 79a1bbfc..d19c9565 100644 --- a/subr.pkg/pkg_install_libs.subr +++ b/subr.pkg/pkg_install_libs.subr @@ -33,7 +33,7 @@ pkgp_install_libs_shared_link() { }; pkgp_install_libs_shared() { - local _ppils_head="" _ppils_lib_dst_path="" _ppils_lib_name="" \ + local _ppils_postfix="" _ppils_lib_dst_path="" _ppils_lib_name="" \ _ppils_lib_src_path="" _ppils_so_dst_dir="" _ppils_so_src_path=""; if [ "${PKG_BUILD_TYPE}" != "host" ]; then @@ -42,8 +42,8 @@ pkgp_install_libs_shared() { \( -name "*.so" -or -name "*.so.*" \) -print); do if [ "$(readlink -f "${_ppils_so_src_path}")" != "/dev/null" ]\ - && rtl_head "[0-9.]" "${_ppils_so_src_path##*.so}" \$_ppils_head\ - && [ "${_ppils_head:+1}" != 1 ]; then + && rtl_remove_postfix "[0-9.]" "${_ppils_so_src_path##*.so}" \$_ppils_postfix\ + && [ "${_ppils_postfix:+1}" != 1 ]; then case "${_ppils_so_src_path}" in *.so) _ppils_lib_src_path="${_ppils_so_src_path%%.so}.lib.a"; ;; *.so.*) _ppils_lib_src_path="${_ppils_so_src_path%%.so.*}.${_ppils_so_src_path##*.so.}.lib.a"; ;; |