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:
c200f18
)
Fix buildToolsVersion patching if an = is present
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 26 Jan 2014 16:07:35 +0000
(17:07 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 26 Jan 2014 16:07:35 +0000
(17:07 +0100)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 9de4d322416f853a80391e396e9d2df9625a3fbb..15fed57471e13f7a3352f1f39429477d9f5872d5 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-378,7
+378,7
@@
def adapt_gradle(build_dir):
print "Adapting build.gradle at %s" % path
subprocess.call(['sed', '-i',
- 's@buildToolsVersion[ ]*["\\\'][0-9\.]*["\\\']@buildToolsVersion "'
+ 's@buildToolsVersion[ ]*[
=]*[ ]*[
"\\\'][0-9\.]*["\\\']@buildToolsVersion "'
+ config['build_tools'] + '"@g', path])