From f4a2a9aebe7897ff610b65007e03b1241b4b140a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 5 Nov 2009 14:26:15 +0100 Subject: [PATCH] builddep_funcs.sh: use $XBPS_CMPVER_CMD. --HG-- extra : convert_revision : 079d2d36a9fd7454ec6f4e53a4f917b7f92334a3 --- xbps-src/shutils/builddep_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/builddep_funcs.sh b/xbps-src/shutils/builddep_funcs.sh index 42bc9423209..56b0407145a 100644 --- a/xbps-src/shutils/builddep_funcs.sh +++ b/xbps-src/shutils/builddep_funcs.sh @@ -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