From 4e151281f759ec2322852b0f6dd8c9a59efbc5da Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 Nov 2011 10:18:40 +0100 Subject: [PATCH] xbps-src: 'show-revdeps' now works when no -devel pkg exists, i.e libgcc. --- 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 830845600b0..b1e79178ead 100644 --- a/xbps-src/shutils/show_revdeps.sh +++ b/xbps-src/shutils/show_revdeps.sh @@ -70,7 +70,7 @@ show_pkg_revdeps() _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 # pkg provides shlibs _show_shlib_pkg_deps "$shlibs"