From: Alexander Kanavin <[email protected]> E.g. if version is '43' without any dots, existing code would return ''.
Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> (cherry picked from commit 38c15322bdbb2423973939e861b5ad1ffb5c8b7f) Signed-off-by: Steve Sakoman <[email protected]> --- meta/classes-recipe/gnomebase.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ # def gnome_verdir(v): - return ".".join(v.split(".")[:-1]) + return ".".join(v.split(".")[:-1]) or v GNOME_COMPRESS_TYPE ?= "xz" -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#173823): https://lists.openembedded.org/g/openembedded-core/message/173823 Mute This Topic: https://lists.openembedded.org/mt/95272249/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
