mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00: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: f3dfc90b8d4e7735eedfeab99d0ebe2ba6e970a0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 38c15322bdbb2423973939e861b5ad1ffb5c8b7f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3888c2e844
commit
a5ce03a162
|
|
@ -1,5 +1,5 @@
|
|||
def gnome_verdir(v):
|
||||
return ".".join(v.split(".")[:-1])
|
||||
return ".".join(v.split(".")[:-1]) or v
|
||||
|
||||
|
||||
GNOME_COMPRESS_TYPE ?= "xz"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user