mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
metadata/install-qa-check.d: fix check for static library in 60libtool-la
Thanks-to: Ionen Wolkens <ionen@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -25,11 +25,7 @@ libtool_la_check() {
|
||||
local base
|
||||
local bad_files=()
|
||||
for file in "${files[@]}" ; do
|
||||
dir=$(dirname ${file})
|
||||
base=${dir%/}
|
||||
base=${base%.la}
|
||||
|
||||
if [[ ! -f ${dir}/${base}.a ]] ; then
|
||||
if [[ ! -f ${file%.la}.a ]] ; then
|
||||
bad_files+=( ${file} )
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user