From cc6b3134b864a283e20a70929e535013f1a701a1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 10 Dec 2014 09:32:28 +0100 Subject: [PATCH] hooks/pkglint: use xbps-query -Rs to check for shlib-requires in repos. --- common/hooks/post-install/99-pkglint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/post-install/99-pkglint.sh b/common/hooks/post-install/99-pkglint.sh index b2993d00971..582686828d5 100644 --- a/common/hooks/post-install/99-pkglint.sh +++ b/common/hooks/post-install/99-pkglint.sh @@ -51,7 +51,7 @@ hook() { msg_red "${pkgver}: SONAME bump detected: ${libname}.so.${conflictRev} -> ${libname}.so.${rev}\n" msg_red "${pkgver}: please update common/shlibs with this line: \"${libname}.so.${rev} ${pkgver}\"\n" msg_red "${pkgver}: all reverse dependencies should also be revbumped to be rebuilt against ${libname}.so.${rev}:\n" - _revdeps=$($XBPS_QUERY_XCMD -s ${libname}.so -p shlib-requires|awk '{print $1}') + _revdeps=$($XBPS_QUERY_XCMD -Rs ${libname}.so -p shlib-requires|awk '{print $1}') for x in ${_revdeps}; do msg_red " ${x%:}\n" done