summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-11-10 19:12:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-11 13:43:41 +0000
commitd97d3de1c446aa44a02bbd0db88306750212514b (patch)
tree941262551bd8f2a1d1e2d82096d25dec8096ad98 /meta/classes-recipe
parent550d5fc0f36b6e86ae754e24274e3737141c360c (diff)
downloadpoky-d97d3de1c446aa44a02bbd0db88306750212514b.tar.gz
gnomebase.bbclass: return the whole version for tarball directory if it is a number
E.g. if version is '43' without any dots, existing code would return ''. (From OE-Core rev: 38c15322bdbb2423973939e861b5ad1ffb5c8b7f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/gnomebase.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/gnomebase.bbclass b/meta/classes-recipe/gnomebase.bbclass
index 805daafa40..5e72f549a3 100644
--- a/meta/classes-recipe/gnomebase.bbclass
+++ b/meta/classes-recipe/gnomebase.bbclass
@@ -5,7 +5,7 @@
5# 5#
6 6
7def gnome_verdir(v): 7def gnome_verdir(v):
8 return ".".join(v.split(".")[:-1]) 8 return ".".join(v.split(".")[:-1]) or v
9 9
10 10
11GNOME_COMPRESS_TYPE ?= "xz" 11GNOME_COMPRESS_TYPE ?= "xz"