extracting the tarball was done from the wrong directory

Signed-off-by: Ionut Biru <[email protected]>
---
 checkpkg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checkpkg b/checkpkg
index 0987a85..00a7d87 100755
--- a/checkpkg
+++ b/checkpkg
@@ -85,7 +85,7 @@ for _pkgname in ${pkgna...@]}; 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
-- 
1.7.2.3

Reply via email to