mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
make config optional when using common.set_FDroidPopen_env()
common.set_FDroidPopen_env() is used to call git and other tools that are not part of the Android SDK nor require Java, so the items that are being set from the config are optional. This lets plugins do quite a bit without ever setting up a config.
This commit is contained in:
parent
4b7d29097d
commit
d36f71e048
2 changed files with 6 additions and 8 deletions
|
@ -14,10 +14,6 @@ fdroid_summary = 'prepare the srclibs for `fdroid build --on-server`'
|
|||
|
||||
|
||||
def main():
|
||||
common.config = {
|
||||
'sdk_path': os.getenv('ANDROID_HOME'),
|
||||
}
|
||||
common.fill_config_defaults(common.config)
|
||||
parser = argparse.ArgumentParser(usage="%(prog)s [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]")
|
||||
common.setup_global_opts(parser)
|
||||
parser.add_argument("appid", nargs='*', help=_("applicationId with optional versionCode in the form APPID[:VERCODE]"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue