mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
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).
This commit is contained in:
parent
09d7048059
commit
aff4beb95e
@ -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…
Reference in New Issue
Block a user