xbps-src: better regexp for show-revdeps target.
This commit is contained in:
parent
f3ac3b2877
commit
795ce57f15
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue