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:
3d50ecf
)
Properly obey build --force. Fixes #29.
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 26 Aug 2014 11:49:42 +0000
(13:49 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 26 Aug 2014 11:49:42 +0000
(13:49 +0200)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index b8671f8f92e9ab1d60e74fe525f12b9815e16262..b38250e4b5fd4f123b93ef24e26fe6e35ce1421f 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-877,7
+877,7
@@
def trybuild(app, thisbuild, build_dir, output_dir, also_check_dir, srclib_dir,
if os.path.exists(dest_also):
return False
- if thisbuild['disable']:
+ if thisbuild['disable']
and not options.force
:
return False
logging.info("Building version %s (%s) of %s" % (
@@
-1000,7
+1000,7
@@
def main():
if options.latest:
for app in apps.itervalues():
for build in reversed(app['builds']):
- if build['disable']:
+ if build['disable']
and not options.force
:
continue
app['builds'] = [build]
break