[SRU][bionic/linux-meta-hwe-5.4][PATCH 1/1] UBUNTU: [Packaging] Remove trailing '_18.04.x' from package version
Juerg Haefliger
juerg.haefliger at canonical.com
Tue Jun 16 07:41:10 UTC 2020
Signed-off-by: Juerg Haefliger <juergh at canonical.com>
---
update-version | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/update-version b/update-version
index 8051cd21c6fa..22901b2084df 100755
--- a/update-version
+++ b/update-version
@@ -62,8 +62,9 @@ done
# We need to ensure the ABI number matches our master source.
# extract both for comparison.
here_abi=${here_version%.*}
-master_abi=$(echo ${master_version%.*} | sed -e 's/-/./g')
-master_abi_human=${master_version%.*}
+master_abi_human=${master_version%~*}
+master_abi_human=${master_abi_human%.*}
+master_abi=$(echo ${master_abi_human} | sed -e 's/-/./g')
# Extract the upload number from the _previous_ upload and increment it.
here_upload=${here_version##*.}
--
2.20.1
More information about the kernel-team
mailing list