builddep: optimize even more printing of required deps.

--HG--
extra : convert_revision : d18f0609ab1b6cc11913577c55f0a43f7886f036
This commit is contained in:
Juan RP 2008-12-14 01:34:31 +01:00
parent 7794e89c20
commit 2c7b9e58f7
1 changed files with 2 additions and 2 deletions

View File

@ -146,9 +146,9 @@ install_dependencies_pkg()
msg_normal "Required minimal deps for $(basename $pkg):"
for i in ${installed_deps_list}; do
ipkg="$($XBPS_PKGDB_CMD list|awk '{print $1}'|grep -w ${i%-[0-9]*.*})"
ipkg=${i%-[0-9]*.*}
iversion="$($XBPS_PKGDB_CMD version $ipkg)"
echo " ${i%-[0-9]*.*} >= ${i##[aA-zZ]*-}: found $ipkg-$iversion."
echo " $ipkg >= ${i##[aA-zZ]*-}: found $ipkg-$iversion."
done
for i in ${deps_list}; do