mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
Small fix to ant srclib numbers
This commit is contained in:
parent
b335759816
commit
93b2dca3a3
@ -1650,7 +1650,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
|||||||
name, subdir = name.split('/',1)
|
name, subdir = name.split('/',1)
|
||||||
libpath = getsrclib(name+'@'+ref, srclib_dir, srclibpaths, subdir, preponly=onserver)
|
libpath = getsrclib(name+'@'+ref, srclib_dir, srclibpaths, subdir, preponly=onserver)
|
||||||
srclibpaths.append((name, number, libpath))
|
srclibpaths.append((name, number, libpath))
|
||||||
place_srclib(root_dir, int(number), libpath)
|
place_srclib(root_dir, int(number) if number else None, libpath)
|
||||||
|
|
||||||
basesrclib = vcs.getsrclib()
|
basesrclib = vcs.getsrclib()
|
||||||
# If one was used for the main source, add that too.
|
# If one was used for the main source, add that too.
|
||||||
|
Loading…
Reference in New Issue
Block a user