summaryrefslogtreecommitdiffstats
path: root/osmo-release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'osmo-release.sh')
-rwxr-xr-xosmo-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/osmo-release.sh b/osmo-release.sh
index 4d4d080b..4446da78 100755
--- a/osmo-release.sh
+++ b/osmo-release.sh
@@ -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