builddep_funcs.sh: use $XBPS_CMPVER_CMD.
--HG-- extra : convert_revision : 079d2d36a9fd7454ec6f4e53a4f917b7f92334a3
This commit is contained in:
parent
faf1d22b22
commit
f4a2a9aebe
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue