mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchupdate.py: Track the stable branch of Wine.
This commit is contained in:
parent
8a378ee8e7
commit
15f62469af
@ -177,7 +177,7 @@ def _latest_wine_commit(commit=None):
|
||||
if not os.path.isdir(config.path_wine):
|
||||
raise PatchUpdaterError("Please create a symlink to the wine repository in %s" % config.path_wine)
|
||||
if commit is None:
|
||||
commit = subprocess.check_output(["git", "rev-parse", "origin/master"], cwd=config.path_wine).strip()
|
||||
commit = subprocess.check_output(["git", "rev-parse", "origin/stable"], cwd=config.path_wine).strip()
|
||||
assert len(commit) == 40 and commit == commit.lower()
|
||||
return commit
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user