summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonut Biru <ibiru@archlinux.org>2010-09-06 18:24:33 +0300
committerPierre Schmitz <pierre@archlinux.de>2010-09-06 20:28:14 +0200
commitb9ea05789d217609227ff8e1825f644cc6114893 (patch)
treecdc89ea16367969ad42b08064e3175f24ba997f3
parent79ac757e7f25d038706dc8a607ce7bf7acd13e60 (diff)
downloaddevtools-b9ea05789d217609227ff8e1825f644cc6114893.tar.xz
checkpkg: fix extracting soname bumps
extracting the tarball was done from the wrong directory Signed-off-by: Ionut Biru <ibiru@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-xcheckpkg2
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 ${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