shutils/builddep_func.sh: use msg_* funcs.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091015140610-nps2cphr0zvxvltg
This commit is contained in:
Juan RP 2009-10-15 16:06:10 +02:00
parent e056e23be1
commit d75b195143

View File

@ -43,12 +43,12 @@ install_pkg_deps()
curpkgname=$(xbps-pkgdb getpkgname ${curpkg}) curpkgname=$(xbps-pkgdb getpkgname ${curpkg})
fi fi
echo "==> Installing $saved_prevpkg dependency: $curpkgname." msg_normal "Installing $saved_prevpkg dependency: $curpkgname."
run_template $curpkgname run_template $curpkgname
check_build_depends_pkg check_build_depends_pkg
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "==> Dependency $curpkgname requires:" msg_normal "Dependency $curpkgname requires:"
for j in ${build_depends}; do for j in ${build_depends}; do
jname=$(xbps-pkgdb getpkgname ${j}) jname=$(xbps-pkgdb getpkgname ${j})
jver=$($XBPS_REGPKGDB_CMD version ${jname}) jver=$($XBPS_REGPKGDB_CMD version ${jname})
@ -101,7 +101,7 @@ install_dependencies_pkg()
lver="${version}" lver="${version}"
fi fi
echo "==> Required build dependencies for $pkgname-$lver... " msg_normal "Required build dependencies for $pkgname-$lver... "
for i in ${build_depends}; do for i in ${build_depends}; do
ipkgname=$(xbps-pkgdb getpkgname ${i}) ipkgname=$(xbps-pkgdb getpkgname ${i})
iversion=$($XBPS_REGPKGDB_CMD version $ipkgname) iversion=$($XBPS_REGPKGDB_CMD version $ipkgname)