xbps-src: better regexp for show-revdeps target.

This commit is contained in:
Juan RP 2011-11-03 15:55:51 +01:00
parent f3ac3b2877
commit 795ce57f15
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ show_pkg_revdeps()
[ -z "$1" ] && return 1 [ -z "$1" ] && return 1
for f in $(find ${XBPS_SRCPKGDIR} -type f -name \*template); do 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 continue
fi fi
tmplf=$(basename $f) tmplf=$(basename $f)