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:
576da1d
)
scanner: support apps using srclib repo type
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 14 Sep 2015 05:05:41 +0000
(22:05 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 14 Sep 2015 05:05:41 +0000
(22:05 -0700)
fdroidserver/scanner.py
patch
|
blob
|
history
diff --git
a/fdroidserver/scanner.py
b/fdroidserver/scanner.py
index 15a25219a91ef0b9326e356c0e304276b54b6ba4..dce0180717eeca8ef8ca649f6dd9efb34384e68e 100644
(file)
--- a/
fdroidserver/scanner.py
+++ b/
fdroidserver/scanner.py
@@
-282,7
+282,10
@@
def main():
try:
try:
- build_dir = 'build/' + appid
+ if app['Repo Type'] == 'srclib':
+ build_dir = os.path.join('build', 'srclib', app['Repo'])
+ else:
+ build_dir = os.path.join('build', appid)
# Set up vcs interface and make sure we have the latest code...
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir)
# Set up vcs interface and make sure we have the latest code...
vcs = common.getvcs(app['Repo Type'], app['Repo'], build_dir)