mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Added the ability to expect build output in a different place
This commit is contained in:
parent
d5cc9e2523
commit
f863c2225c
2 changed files with 9 additions and 1 deletions
6
build.py
6
build.py
|
@ -163,9 +163,13 @@ for app in apps:
|
|||
sys.exit(1)
|
||||
|
||||
# Find the apk name in the output...
|
||||
if thisbuild.has_key('bindir'):
|
||||
bindir = os.path.join(build_dir, thisbuild['bindir'])
|
||||
else:
|
||||
bindir = os.path.join(root_dir, 'bin')
|
||||
src = re.match(r".*^.*Creating (\S+) for release.*$.*", output,
|
||||
re.S|re.M).group(1)
|
||||
src = os.path.join(os.path.join(root_dir, 'bin'), src)
|
||||
src = os.path.join(bindir, src)
|
||||
|
||||
# By way of a sanity check, make sure the version and version
|
||||
# code in our new apk match what we expect...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue