tests: fix and test fdroid deploy

This commit is contained in:
Hans-Christoph Steiner 2018-05-25 09:52:17 +02:00
parent 1daa1063c5
commit 0a15a9b65b
2 changed files with 3 additions and 1 deletions

2
fdroid
View file

@ -126,7 +126,7 @@ def main():
# temporary workaround until server.py becomes deploy.py
if command == 'deploy':
command = 'server'
sys.argv.insert(1, 'update')
sys.argv.insert(2, 'update')
# Trick optparse into displaying the right usage when --help is used.
sys.argv[0] += ' ' + command