build_manifest.py: Make sure the remote always ends with a slash

that's how `git-update` in `gst-build` expects it to be
This commit is contained in:
Jordan Petridis 2018-10-24 14:09:17 +03:00
parent dc275a204e
commit ca9b1362b3
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -133,6 +133,9 @@ if __name__ == "__main__":
projects: str = ''
project_template: str = " <project name=\"{}\" remote=\"{}\" revision=\"{}\" />\n"
user_remote: str = os.path.dirname(os.environ['CI_PROJECT_URL'])
if not user_remote.endswith('/'):
user_remote += '/'
for module in GSTREAMER_MODULES:
print(f"Checking {module}:", end=' ')