osmo-release.sh: Blacklist script file from LIBVERS matches

The file itself appears in the list of matches when run in
libosmocore.git. Let's prevent it:
"""
expr: non-integer argument
WARN: Found 19 files matching debian/lib*.install for LIBVERSION=`gitdiff--cached-GLIBVERSION--stat|grepMakefile.am`, manual check required!
"""

Change-Id: I6d750d312017ebb434650a6e19707ec60faf4020
This commit is contained in:
Pau Espin 2021-11-16 13:02:28 +01:00
parent 4a15c2d47a
commit ab5e989274
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ if [ "z$NEW_VER" = "z" ]; then
exit 1
fi
GIT_TOPDIR="$(git rev-parse --show-toplevel)"
LIBVERS=`git grep -n LIBVERSION | grep '=' | grep am | grep -v LDFLAGS`
LIBVERS=`git grep -n LIBVERSION | grep '=' | grep am | grep -v LDFLAGS | grep -v osmo-release.sh`
MAKEMOD=`git diff --cached -GLIBVERSION --stat | grep Makefile.am`
ISODATE=`date -I`