ndctl, prepare-release.sh: fix revision update checks
Vishal Verma
maintainerPATCH 1/1 ndctl, prepare-release.sh: fix revision update checks
The libtool versioning checks only need to prompt for a 'REVISION' update if the library source changed. We were triggering that check even if the utility source had changed. Fix by changing $libdir to the corresponding */lib/ directory.
Signed-off-by Vishal Verma <[email protected]>
--- contrib/prepare-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
contrib/prepare-release.sh +2 -2
@@ -105,8 +105,8 @@ check_libtool_vers() { local lib="$1" local lib_u="${lib^^}" - local libdir="${lib##lib}" - local symfile="${libdir}/lib/${lib}.sym" + local libdir="${lib##lib}/lib/" + local symfile="${libdir}/${lib}.sym" local last_cur=$(git show $last_ref:Makefile.am.in | grep -E "^${lib_u}_CURRENT" | cut -d'=' -f2) local last_rev=$(git show $last_ref:Makefile.am.in | grep -E "^${lib_u}_REVISION" | cut -d'=' -f2) local last_age=$(git show $last_ref:Makefile.am.in | grep -E "^${lib_u}_AGE" | cut -d'=' -f2)
Signature · 6 lines
2.14.4 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm