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:
a30aa01
)
Discover apk filename from maven builds.
author
Simon Josefsson
<simon@josefsson.org>
Tue, 5 Mar 2013 12:36:15 +0000
(13:36 +0100)
committer
Simon Josefsson
<simon@josefsson.org>
Tue, 5 Mar 2013 12:36:15 +0000
(13:36 +0100)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index bfe35446dd13357e701b1763fa3d785cf2402fe7..bc7d6b4ee69281fc5d593ab72e15f2a1b8fa7a41 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-351,6
+351,10
@@
def build_local(app, thisbuild, vcs, build_dir, output_dir, extlib_dir, tmp_dir,
# This format is found in com.github.mobile for example...
m = re.match(r".*^\[INFO\] [^$]*aapt \[package,[^$]*" + app['id'] + "/app/target/([^$]+)\.ap_\]",
output, re.S|re.M)
+ if not m:
+ # This format is found in com.yubico.yubitotp for example...
+ m = re.match(r".*^\[INFO\] [^$]*aapt \[package,[^$]*" + app['id'] + "/" + thisbuild['bindir'] + "/([^$]+)\.ap_,",
+ output, re.S|re.M)
if not m:
print output
raise BuildException('Failed to find output')