summaryrefslogtreecommitdiff
path: root/checkpkg
diff options
context:
space:
mode:
Diffstat (limited to 'checkpkg')
-rwxr-xr-xcheckpkg5
1 files changed, 2 insertions, 3 deletions
diff --git a/checkpkg b/checkpkg
index f8867bd..c349795 100755
--- a/checkpkg
+++ b/checkpkg
@@ -87,9 +87,8 @@ for _pkgname in ${pkgname[@]}; do
mkdir -p pkg
cd pkg
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
+ for i in $(diff ../filelist-$_pkgname-old ../filelist-$_pkgname | grep \> | grep '\.so' | awk '{print $2}'); do
+ echo "${i}: " "$(objdump -p $i | grep SONAME)"
done
cd ..
else