mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchinstall.py: Pass the wine tree to the "patch" backend.
This commit is contained in:
parent
bf7a234e0c
commit
d8293544f4
@ -82,8 +82,8 @@ def apply_patch(patch):
|
||||
return run(['git','-C',winedir,'am','-C1',patch])
|
||||
elif backend == 'patch':
|
||||
with open(patch) as f:
|
||||
print(patchdir+'/gitapply.sh <',patch)
|
||||
return subprocess.call([patchdir+'/gitapply.sh'],stdin=f)
|
||||
print(patchdir+'/gitapply.sh -d', winedir, '<', patch)
|
||||
return subprocess.call([patchdir+'/gitapply.sh','-d',winedir],stdin=f)
|
||||
elif backend == 'git-apply':
|
||||
return run(['git','-C',winedir,'apply','--index',patch])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user