<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/15070">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-release.sh: Drop whitespace after = when parsing LIBVERSION<br><br>As a result whitespace ended up in some variables and then command<br>"expr" was not happy about it.<br>It was spotted because src/coding/Makefile.am had some whitespacing.<br>Since it's the only one, let's drop the whitespace there too to have<br>similar line in all Makefile.am files.<br><br>Change-Id: I33afef5e4ef9eb36de81274533f46598ba9a0edb<br>---<br>M osmo-release.sh<br>M src/coding/Makefile.am<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/70/15070/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/osmo-release.sh b/osmo-release.sh</span><br><span>index 4d4d080..4446da7 100755</span><br><span>--- a/osmo-release.sh</span><br><span>+++ b/osmo-release.sh</span><br><span>@@ -47,7 +47,7 @@</span><br><span>        fi</span><br><span>   if [ "z$ALLOW_NO_LIBVERSION_DEB_MATCH" = "z0" ]; then</span><br><span>            echo "$LIBVERS" | while read -r line; do</span><br><span style="color: hsl(0, 100%, 40%);">-                      libversion=$(echo "$line" | cut -d "=" -f 2)</span><br><span style="color: hsl(120, 100%, 40%);">+                      libversion=$(echo "$line" | cut -d "=" -f 2 | tr -d "[:space:]")</span><br><span>                       major="$(libversion_to_deb_major "$libversion")"</span><br><span>                         file_matches="$(find "${GIT_TOPDIR}/debian" -name "lib*${major}.install" | wc -l)"</span><br><span>                     if [ "z$file_matches" = "z0" ]; then</span><br><span>diff --git a/src/coding/Makefile.am b/src/coding/Makefile.am</span><br><span>index c001c13..f47fe45 100644</span><br><span>--- a/src/coding/Makefile.am</span><br><span>+++ b/src/coding/Makefile.am</span><br><span>@@ -1,7 +1,7 @@</span><br><span> # This is _NOT_ the library release version, it's an API version.</span><br><span> # Please read Chapter 6 "Library interface versions" of the libtool</span><br><span> # documentation before making any modification</span><br><span style="color: hsl(0, 100%, 40%);">-LIBVERSION = 1:1:1</span><br><span style="color: hsl(120, 100%, 40%);">+LIBVERSION=1:1:1</span><br><span> </span><br><span> AM_CPPFLAGS = \</span><br><span>       -I"$(top_srcdir)/include" \</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/15070">change 15070</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/15070"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I33afef5e4ef9eb36de81274533f46598ba9a0edb </div>
<div style="display:none"> Gerrit-Change-Number: 15070 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>