xbps-src: better regexp for show-revdeps target.
This commit is contained in:
parent
f3ac3b2877
commit
795ce57f15
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue