Execute concatenated command
This commit is contained in:
parent
4c11d31723
commit
759e9d4ebb
1 changed files with 1 additions and 4 deletions
|
@ -42,10 +42,7 @@ class C4kMixin(DevopsBuild):
|
|||
chmod(self.build_path() + '/out_auth.edn', 0o600)
|
||||
|
||||
def c4k_apply(self):
|
||||
cmd = [f'c4k-{self.c4k_module_name}-standalone.jar',
|
||||
self.build_path() + '/out_config.edn',
|
||||
self.build_path() + '/out_auth.edn',
|
||||
'> ' + self.build_path() + f'/out_{self.c4k_module_name}.yaml']
|
||||
cmd = f'c4k-{self.c4k_module_name}-standalone.jar {self.build_path()}/out_config.edn {self.build_path()}/out_auth.edn > {self.build_path()}/out_{self.c4k_module_name}.yaml'
|
||||
output = execute(cmd, True)
|
||||
print(output)
|
||||
return output
|
||||
|
|
Loading…
Reference in a new issue