mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Use correct base directory for patching
This commit is contained in:
parent
46307aaf38
commit
3ccae6bbfe
2
build.py
2
build.py
@ -232,7 +232,7 @@ for app in apps:
|
||||
print "Applying " + patch
|
||||
patch_path = os.path.join('metadata', app['id'], patch)
|
||||
if subprocess.call(['patch', '-p1',
|
||||
'-i', os.path.abspath(patch_path)], cwd=root_dir) != 0:
|
||||
'-i', os.path.abspath(patch_path)], cwd=build_dir) != 0:
|
||||
print "Failed to apply patch %s" % patch_path
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user