Commit 07582851 authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

Fix previous commit

parent a681fc40
......@@ -107,7 +107,7 @@ def update_assets(options, assets_dir):
CHECKOUT_BRANCH_COMMAND = "git fetch origin && (git checkout origin/%s || git checkout tags/%s)" % (
GST_VALIDATE_TESTSUITE_VERSION, GST_VALIDATE_TESTSUITE_VERSION)
if options.force_sync:
subprocess.check_call(["git", "reset", "--hard"], cwd=asset_dir)
subprocess.check_call(["git", "reset", "--hard"], cwd=assets_dir)
print("Checking out %s" % GST_VALIDATE_TESTSUITE_VERSION)
subprocess.check_call(CHECKOUT_BRANCH_COMMAND, shell=True, cwd=assets_dir)
download_files(os.path.basename(os.path.join(assets_dir)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment