From: Stefan Metzmacher Date: Thu, 11 Apr 2019 08:34:28 +0000 (+0200) Subject: bootstrap/template.py: generate Vagrantfile just once X-Git-Tag: tdb-1.4.1~374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da0567e00b113baccad7f41f9dab5dc82cc7f996;p=thirdparty%2Fsamba.git bootstrap/template.py: generate Vagrantfile just once Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/bootstrap/template.py b/bootstrap/template.py index 2eb70fd693e..1e101c8f0e0 100755 --- a/bootstrap/template.py +++ b/bootstrap/template.py @@ -46,11 +46,11 @@ def render(dists): if path.endswith('.sh'): os.chmod(path, 0o755) - key = 'Vagrantfile' - path = os.path.join(OUT, key) - log.info('%s: render "%s" to %s', dist, key, path) - with io.open(path, mode='wt', encoding='utf8') as fp: - fp.write(VAGRANTFILE) + key = 'Vagrantfile' + path = os.path.join(OUT, key) + log.info('%s: render "%s" to %s', dist, key, path) + with io.open(path, mode='wt', encoding='utf8') as fp: + fp.write(VAGRANTFILE) def main():