From b9ea05789d217609227ff8e1825f644cc6114893 Mon Sep 17 00:00:00 2001 From: Ionut Biru Date: Mon, 6 Sep 2010 18:24:33 +0300 Subject: checkpkg: fix extracting soname bumps extracting the tarball was done from the wrong directory Signed-off-by: Ionut Biru Signed-off-by: Pierre Schmitz --- checkpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checkpkg') diff --git a/checkpkg b/checkpkg index 0987a85..00a7d87 100755 --- a/checkpkg +++ b/checkpkg @@ -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 -- cgit v1.2.3-70-g09d2