mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +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: 71ba56c6d2703f9d4498e2cbff9c0aa70b964801) 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:
committed by
Richard Purdie
parent
509f2f8100
commit
af79d91a50
@@ -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