mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
metadata output-lines now substitute $$VERSION$$/etc.
This commit is contained in:
parent
0ef818486d
commit
d2570a493e
3 changed files with 11 additions and 5 deletions
|
@ -859,7 +859,8 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir,
|
|||
re.S | re.M).group(1)
|
||||
src = os.path.join(bindir, src)
|
||||
elif omethod == 'raw':
|
||||
globpath = os.path.join(root_dir, build.output)
|
||||
output_path = common.replace_build_vars(build.output, build)
|
||||
globpath = os.path.join(root_dir, output_path)
|
||||
apks = glob.glob(globpath)
|
||||
if len(apks) > 1:
|
||||
raise BuildException('Multiple apks match %s' % globpath, '\n'.join(apks))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue