[arch-projects] [devtools][PATCH] checkpkg: Only match .so at end of filenames for soname check
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> --- checkpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpkg.in b/checkpkg.in index 4d2a905..4a46df3 100644 --- a/checkpkg.in +++ b/checkpkg.in @@ -74,7 +74,7 @@ for _pkgname in "${pkgname[@]}"; do if diff "$TEMPDIR/filelist-$_pkgname"{-old,} | grep '\.so' &>/dev/null; then mkdir -p "$TEMPDIR/pkg" bsdtar -x -C "$TEMPDIR" -f "$pkgfile" #> /dev/null - diff "$TEMPDIR/filelist-$_pkgname-old" "$TEMPDIR/filelist-$_pkgname" | awk '/>.*\.so/{$1 = ""; print $0}' | while read i; do + comm -13 <(sort "$TEMPDIR/filelist-$_pkgname-old") <(sort "$TEMPDIR/filelist-$_pkgname") | grep .so$ | while read i; do echo "${i}: " "$(objdump -p "$TEMPDIR/$i" | grep SONAME)" done else -- 1.8.4.1
participants (1)
-
Eric Bélanger