diff --git a/meta-citadel/recipes-core/citadel-tools/citadel-tools_0.1.0.bb b/meta-citadel/recipes-core/citadel-tools/citadel-tools_0.1.0.bb index b3aa89e..7b4ca2f 100644 --- a/meta-citadel/recipes-core/citadel-tools/citadel-tools_0.1.0.bb +++ b/meta-citadel/recipes-core/citadel-tools/citadel-tools_0.1.0.bb @@ -13,7 +13,12 @@ SRCREV = "24f786cf75d093b617511ef568e3f231b52b320d" # get git repo owner from citadel to find the correct citadel-tools repo path python () { import subprocess - git_owner = subprocess.check_output(['git', 'remote', 'get-url', 'origin']).strip().decode('utf-8').split('/')[0].split(':')[1] + git_url = subprocess.check_output(['git', 'remote', 'get-url', 'origin']).strip().decode('utf-8') + if git_url.startswith("git"): + git_owner = git_url.split('/')[0].split(':')[1] + else: + git_owner = git_url.split('/')[3] + d.setVar("GIT_REPO_OWNER", git_owner) }