git.samba.org
/
anatoliy
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15bbb0
)
bootstrap/template.py: generate Vagrantfile just once
author
Stefan Metzmacher
<metze@samba.org>
Thu, 11 Apr 2019 08:34:28 +0000
(10:34 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 18 Apr 2019 12:09:34 +0000
(12:09 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
bootstrap/template.py
patch
|
blob
|
history
diff --git
a/bootstrap/template.py
b/bootstrap/template.py
index 2eb70fd693ee0abff4881a772d918d74b45643e1..1e101c8f0e05c9f478f4ba8feb57fba236f0636f 100755
(executable)
--- 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():