builddep: optimize even more printing of required deps.
--HG-- extra : convert_revision : d18f0609ab1b6cc11913577c55f0a43f7886f036
This commit is contained in:
parent
7794e89c20
commit
2c7b9e58f7
|
@ -146,9 +146,9 @@ install_dependencies_pkg()
|
||||||
|
|
||||||
msg_normal "Required minimal deps for $(basename $pkg):"
|
msg_normal "Required minimal deps for $(basename $pkg):"
|
||||||
for i in ${installed_deps_list}; do
|
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)"
|
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
|
done
|
||||||
|
|
||||||
for i in ${deps_list}; do
|
for i in ${deps_list}; do
|
||||||
|
|
Loading…
Reference in New Issue