Commit b9ea0578 authored by Ionut Biru's avatar Ionut Biru Committed by Pierre Schmitz
Browse files

checkpkg: fix extracting soname bumps



extracting the tarball was done from the wrong directory

Signed-off-by: default avatarIonut Biru <ibiru@archlinux.org>
Signed-off-by: default avatarPierre Schmitz <pierre@archlinux.de>
parent 79ac757e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ for _pkgname in ${pkgname[@]}; do
	if diff filelist-$_pkgname-old filelist-$_pkgname | grep '\.so\.' > /dev/null 2>&1; then
		mkdir -p pkg
		cd pkg
		bsdtar xf "$pkgfile" > /dev/null
		bsdtar xf ../"$pkgfile" > /dev/null
		for i in `diff ../filelist-$_pkgname-old ../filelist-$_pkgname | grep \> | grep \.so\. | awk '{print $2}'`; do
			echo -n "${i}: "
			objdump -p $i | grep SONAME