mirror of https://gerrit.osmocom.org/libosmocore
osmo-release.sh: Drop whitespace after = when parsing LIBVERSION
As a result whitespace ended up in some variables and then command "expr" was not happy about it. It was spotted because src/coding/Makefile.am had some whitespacing. Since it's the only one, let's drop the whitespace there too to have similar line in all Makefile.am files. Change-Id: I33afef5e4ef9eb36de81274533f46598ba9a0edb
This commit is contained in:
parent
afce89dac1
commit
2c28129709
|
@ -47,7 +47,7 @@ if [ "z$LIBVERS" != "z" ]; then
|
|||
fi
|
||||
if [ "z$ALLOW_NO_LIBVERSION_DEB_MATCH" = "z0" ]; then
|
||||
echo "$LIBVERS" | while read -r line; do
|
||||
libversion=$(echo "$line" | cut -d "=" -f 2)
|
||||
libversion=$(echo "$line" | cut -d "=" -f 2 | tr -d "[:space:]")
|
||||
major="$(libversion_to_deb_major "$libversion")"
|
||||
file_matches="$(find "${GIT_TOPDIR}/debian" -name "lib*${major}.install" | wc -l)"
|
||||
if [ "z$file_matches" = "z0" ]; then
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# This is _NOT_ the library release version, it's an API version.
|
||||
# Please read Chapter 6 "Library interface versions" of the libtool
|
||||
# documentation before making any modification
|
||||
LIBVERSION = 1:1:1
|
||||
LIBVERSION=1:1:1
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I"$(top_srcdir)/include" \
|
||||
|
|
Loading…
Reference in New Issue