From 69ea8000e9a514bad764176369ca884281149257 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 25 Oct 2008 23:31:12 +0200 Subject: [PATCH] install_dependencies_pkg(): use grep -w to match exact pkgs. --HG-- extra : convert_revision : 2d49492a5bc6f3525af5d3ced97cd77a3b805ce9 --- xbps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps.sh b/xbps.sh index 99dcb29ac66..3e685ea22b2 100755 --- a/xbps.sh +++ b/xbps.sh @@ -1044,7 +1044,7 @@ install_dependencies_pkg() echo "==> Required dependencies for $(basename $pkg):" for i in ${installed_deps_list}; do - fpkg="$($XBPS_PKGDB_CMD list|$grep_cmd ${i%-[0-9]*.*})" + fpkg="$($XBPS_PKGDB_CMD list|$grep_cmd -w ${i%-[0-9]*.*})" echo " $i: found $fpkg." done