mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Use correct base directory for patching
This commit is contained in:
parent
46307aaf38
commit
3ccae6bbfe
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
|
@ -232,7 +232,7 @@ for app in apps:
|
||||||
print "Applying " + patch
|
print "Applying " + patch
|
||||||
patch_path = os.path.join('metadata', app['id'], patch)
|
patch_path = os.path.join('metadata', app['id'], patch)
|
||||||
if subprocess.call(['patch', '-p1',
|
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
|
print "Failed to apply patch %s" % patch_path
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue