diff options
Diffstat (limited to 'build-scripts/repo_project_info.py')
-rwxr-xr-x | build-scripts/repo_project_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build-scripts/repo_project_info.py b/build-scripts/repo_project_info.py index 185db55..f748005 100755 --- a/build-scripts/repo_project_info.py +++ b/build-scripts/repo_project_info.py @@ -4,6 +4,8 @@ import argparse import manifest_xml #in .repo/repo def get_kernel_info(repodir, projpath): + assert projpath[0] != "/", "Relative manifest project path expected" + projpath = projpath.rstrip("/") m = manifest_xml.XmlManifest(repodir) for p in m.projects: if m.projects[p].relpath == projpath: |