]> code.ossystems Code Review - openembedded-core.git/commit
gnomebase: trim the SRC_URI directory from the back
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 24 May 2021 09:13:34 +0000 (11:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 May 2021 21:35:54 +0000 (22:35 +0100)
commitfa8950d0cf6174ce517275fe44df9e4c0788d5f0
tree9b7760b8c67aaeb671043751de543419857bc187
parent19b259d421aa878047104b92141c4d67963fc4e0
gnomebase: trim the SRC_URI directory from the back

Rather than take the first two components, drop the last one at the end.
This makes it compatible with both old and new gnome version schemes.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gnomebase.bbclass