mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-25 13:41:02 -04:00
Use correct base directory for patching
This commit is contained in:
1 parent
46307aaf38
commit
3ccae6bbfe
1 file changed
+1
-1
@@ -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