builddep_funcs.sh: use $XBPS_CMPVER_CMD.

--HG--
extra : convert_revision : 079d2d36a9fd7454ec6f4e53a4f917b7f92334a3
This commit is contained in:
Juan RP 2009-11-05 14:26:15 +01:00
parent faf1d22b22
commit f4a2a9aebe
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ check_installed_pkg()
iver="$($XBPS_PKGDB_CMD version $pkgname)"
if [ -n "$iver" ]; then
xbps-cmpver $pkgname-$iver $pkgname-$reqver
${XBPS_CMPVER_CMD} $pkgname-$iver $pkgname-$reqver
[ $? -eq 0 -o $? -eq 1 ] && return 0
fi