taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 680f1d09019d8117f1b2c56c7323b5f45dd7b442
parent 1568e9eb772f240dde85824cfd189d27426bceec
Author: Florian Dold <florian.dold@gmail.com>
Date:   Wed,  8 Mar 2017 02:41:21 +0100

fix --standalone flag

Diffstat:
Mconfig/generate-config | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/config/generate-config b/config/generate-config @@ -205,6 +205,14 @@ def main(currency, envname, outdir, exchange_pub, standalone): print("envname {} not supported unless in standalone mode".format(envname)) return + # We have the --standalone option as 0/1 instead of as a flag, + # since this way it's easier to read it from an environment variable + # in shell scripts. + if standalone == "1": + standalone = True + else: + standalone = False + config(currency, envname, exchange_pub, standalone == "1") merchant_wireformats = [