[FIX] script git tool: support relative path when detect manifest file
This commit is contained in:
parent
2160b8264b
commit
dd6ca6d7a2
1 changed files with 5 additions and 1 deletions
|
|
@ -257,7 +257,11 @@ class GitTool:
|
|||
"""
|
||||
lst_filter_group = filter_group.split(",") if filter_group else []
|
||||
manifest_file = self.get_manifest_file(repo_path=repo_path)
|
||||
filename = f"{repo_path}{manifest_file}"
|
||||
if manifest_file.startswith("/home/"):
|
||||
# This is a absolute path
|
||||
filename = manifest_file
|
||||
else:
|
||||
filename = f"{repo_path}{manifest_file}"
|
||||
lst_repo = []
|
||||
with open(filename) as xml:
|
||||
xml_as_string = xml.read()
|
||||
|
|
|
|||
Loading…
Reference in a new issue