@@ -15,7 +15,7 @@ def usage():
15
15
16
16
def write_file (destpath , contents ):
17
17
with open (destpath , "w" ) as destfile :
18
- destfile .write (contents )
18
+ destfile .write (contents )
19
19
20
20
21
21
def run_cmd (cmdarray , workingdir , captureout = False ):
@@ -38,7 +38,7 @@ def generate_templates(installer_version, tag_version):
38
38
template = env .get_template ("construct.yaml.jinja2" )
39
39
output = template .render (installer_version = installer_version )
40
40
write_file ("construct.yaml" , output )
41
-
41
+
42
42
template = env .get_template ("post-install.bat.jinja2" )
43
43
output = template .render (tag_version = tag_version )
44
44
write_file ("post-install.bat" , output )
@@ -51,10 +51,10 @@ def generate_templates(installer_version, tag_version):
51
51
def run_constructor ():
52
52
print ("Running constructor" )
53
53
scriptdir = os .path .dirname (os .path .realpath (__file__ ))
54
- builddir = os .path .join (scriptdir , ' build' )
54
+ builddir = os .path .join (scriptdir , " build" )
55
55
if not os .path .exists (builddir ):
56
56
os .makedirs (builddir )
57
- run_cmd ([' constructor' , scriptdir ], builddir )
57
+ run_cmd ([" constructor" , scriptdir ], builddir )
58
58
59
59
60
60
def main ():
0 commit comments