[arch-dev-public] [PATCH] checkpkg: fix extracting soname bumps

Ionut Biru ibiru at archlinux.org
Mon Sep 6 11:24:33 EDT 2010


extracting the tarball was done from the wrong directory

Signed-off-by: Ionut Biru <ibiru at archlinux.org>
---
 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 ${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
-- 
1.7.2.3



More information about the arch-dev-public mailing list