chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46307aa
)
Use correct base directory for patching
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 13 Sep 2011 11:10:07 +0000
(12:10 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 13 Sep 2011 11:10:07 +0000
(12:10 +0100)
build.py
patch
|
blob
|
history
diff --git
a/build.py
b/build.py
index 0159e16dddccd6104d0f6a1f040b93addd71c772..b9ddce7384be54c64f701de991b750fb0585e6cc 100755
(executable)
--- a/
build.py
+++ b/
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)