git-update: Get the revision of the right repository

Typo, should fix the gst-build CI failures.
This commit is contained in:
Nirbheek Chauhan 2018-10-02 13:39:49 +05:30
parent 839acd5bd6
commit 1a75371b8b

View file

@ -41,7 +41,7 @@ def update_subprojects(manifest, no_interaction=False):
# that will always fail.
ret = git('-C', repo_dir, 'rev-parse', '--symbolic-full-name', 'HEAD')
if ret.strip() == 'HEAD':
revision = git('rev-parse', 'HEAD').strip()
revision = git('-C', repo_dir, 'rev-parse', 'HEAD').strip()
if not update_repo(repo_name, repo_dir, revision, no_interaction):
return False