summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-06 00:38:04 +0100
committerSam James <sam@gentoo.org>2022-05-06 00:38:04 +0100
commitcc44ecdc302f5ba45b88e92befcebfab692cd931 (patch)
tree6c8eaf8216a1458af4eeffed9388b737cce06add /metadata
parentnet-libs/libnetfilter_cthelper: add 1.0.1 (diff)
downloadgentoo-cc44ecdc302f5ba45b88e92befcebfab692cd931.tar.gz
gentoo-cc44ecdc302f5ba45b88e92befcebfab692cd931.tar.bz2
gentoo-cc44ecdc302f5ba45b88e92befcebfab692cd931.zip
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>
Diffstat (limited to 'metadata')
-rw-r--r--metadata/install-qa-check.d/60libtool-la6
1 files changed, 1 insertions, 5 deletions
diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la
index 34344890333f..89b93fcfe6aa 100644
--- a/metadata/install-qa-check.d/60libtool-la
+++ b/metadata/install-qa-check.d/60libtool-la
@@ -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