From d6fd6b0ca813791a468722274deba5a58e26bd00 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Apr 17 2020 17:09:08 +0000 Subject: subr/pkg_install_libs.subr:pkgp_install_libs_shared(): correctly reference ${_so_src_path}. --- diff --git a/subr/pkg_install_libs.subr b/subr/pkg_install_libs.subr index a13105a..3dcc0ac 100644 --- a/subr/pkg_install_libs.subr +++ b/subr/pkg_install_libs.subr @@ -29,7 +29,7 @@ pkgp_install_libs_shared() { for _so_src_path in \ $(find "${PKG_DESTDIR}" \ \( -name "*.so" -or -name "*.so.*" \) -print); - do if [ "$(readlink -f "${_so_path}")" != "/dev/null" ]\ + do if [ "$(readlink -f "${_so_src_path}")" != "/dev/null" ]\ && [ -z "$(rtl_head "[0-9.]" "${_so_src_path##*.so}")" ]; then case "${_so_src_path}" in *.so) _lib_src_path="${_so_src_path%%.so}.lib.a"; ;;