mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Fix remaining srclib issues
This commit is contained in:
parent
57c53125d0
commit
363d404cbf
@ -294,7 +294,7 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, force):
|
||||
basesrclib = vcs.getsrclib()
|
||||
if basesrclib:
|
||||
srclibpaths.append(basesrclib)
|
||||
for name, lib in srclibpaths:
|
||||
for name, number, lib in srclibpaths:
|
||||
if options.verbose:
|
||||
print "Sending srclib '" + lib + "'"
|
||||
ftp.chdir('/home/vagrant/build/srclib')
|
||||
@ -453,7 +453,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||
if 'build' in thisbuild:
|
||||
cmd = common.replace_config_vars(thisbuild['build'])
|
||||
# Substitute source library paths into commands...
|
||||
for name, libpath in srclibpaths:
|
||||
for name, number, libpath in srclibpaths:
|
||||
libpath = os.path.relpath(libpath, root_dir)
|
||||
cmd = cmd.replace('$$' + name + '$$', libpath)
|
||||
if options.verbose:
|
||||
|
Loading…
Reference in New Issue
Block a user