libretro: pass explicit parameters to update_cores.py script

Hope this fixes the issue where sometimes the script calculates the
wrong hash (happening specially in `mame` core).
main
Thiago Kenji Okada 2 years ago
parent 09d7048059
commit aff4beb95e
  1. 6
      pkgs/applications/emulators/retroarch/update_cores.py

@ -107,10 +107,16 @@ def get_repo_hash_fetchFromGitHub(
extra_args = []
if deep_clone:
extra_args.append("--deep-clone")
else:
extra_args.append("--no-deep-clone")
if fetch_submodules:
extra_args.append("--fetch-submodules")
else:
extra_args.append("--no-fetch-submodules")
if leave_dot_git:
extra_args.append("--leave-dot-git")
else:
extra_args.append("--no-leave-dot-git")
if rev:
extra_args.append("--rev")
extra_args.append(rev)

Loading…
Cancel
Save