mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
550d5fc0f3
commit
d97d3de1c4
@@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
def gnome_verdir(v):
|
||||
return ".".join(v.split(".")[:-1])
|
||||
return ".".join(v.split(".")[:-1]) or v
|
||||
|
||||
|
||||
GNOME_COMPRESS_TYPE ?= "xz"
|
||||
|
||||
Reference in New Issue
Block a user