From 795ce57f15f98edaed5c4c8bee0452b9b4e5a4fd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 3 Nov 2011 15:55:51 +0100 Subject: [PATCH] xbps-src: better regexp for show-revdeps target. --- xbps-src/shutils/show_revdeps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/show_revdeps.sh b/xbps-src/shutils/show_revdeps.sh index a2aed58316e..dcc3b1abe85 100644 --- a/xbps-src/shutils/show_revdeps.sh +++ b/xbps-src/shutils/show_revdeps.sh @@ -30,7 +30,7 @@ show_pkg_revdeps() [ -z "$1" ] && return 1 for f in $(find ${XBPS_SRCPKGDIR} -type f -name \*template); do - if ! egrep -q "^Add_dependency[[:blank:]]+(run|full|build)[[:blank:]]+${1}$" $f; then + if ! egrep -q "^Add_dependency[[:blank:]]+(run|full|build)[[:blank:]]+${1}([[:space:]]+\".*\")*$" $f; then continue fi tmplf=$(basename $f)