xbps-src: 'show-revdeps' now works when no -devel pkg exists, i.e libgcc.
This commit is contained in:
parent
74cd8ace29
commit
4e151281f7
|
@ -70,7 +70,7 @@ show_pkg_revdeps()
|
||||||
|
|
||||||
_pkgn=$(echo "$1"|sed 's|\+|\\+|g')
|
_pkgn=$(echo "$1"|sed 's|\+|\\+|g')
|
||||||
|
|
||||||
shlibs=$(grep -E "^lib.*\.so\.[[:digit:]]+[[:blank:]]+${_pkgn}[[:blank:]]+.*$" $SHLIBS_MAP|awk '{print $1}')
|
shlibs=$(grep -E "^lib.*\.so\.[[:digit:]]+[[:blank:]]+${_pkgn}[[:blank:]]?.*$" $SHLIBS_MAP|awk '{print $1}')
|
||||||
if [ -n "$shlibs" ]; then
|
if [ -n "$shlibs" ]; then
|
||||||
# pkg provides shlibs
|
# pkg provides shlibs
|
||||||
_show_shlib_pkg_deps "$shlibs"
|
_show_shlib_pkg_deps "$shlibs"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user