# HG changeset patch # User Chris Cannam # Date 1311238617 -3600 # Node ID f84413dd5a7a0b223426f97b18d4441e7fa928c6 # Parent 8f0c1b0f17fa1ac960dfd6b2899d7d367a25eac7 Avoid trying to look up non-file dependencies diff -r 8f0c1b0f17fa -r f84413dd5a7a misc/debian-dependencies.sh --- a/misc/debian-dependencies.sh Wed Jun 29 10:02:06 2011 +0100 +++ b/misc/debian-dependencies.sh Thu Jul 21 09:56:57 2011 +0100 @@ -13,7 +13,7 @@ trap "rm -f $pfile $rfile" 0 echo -ldd "$target" | awk '{ print $3; }' | while read lib; do +ldd "$target" | awk '{ print $3; }' | grep '^/' | while read lib; do if test -n "$lib" ; then dpkg-query -S "$lib" fi @@ -24,6 +24,7 @@ echo for p in `cat $pfile`; do + echo Looking at $p 1>&2 apt-cache showpkg "$p" | grep '^ ' | grep ',' | awk -F, '{ print $1; }' | \ while read d; do if grep -q '^'$d'$' $pfile; then