mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-16 14:06:33 -04:00
Use correct base directory for patching
This commit is contained in:
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user