1337 multiline bash support

This commit is contained in:
jpic
2020-01-28 02:05:07 +01:00
parent 47db32ad0c
commit 8ee415e642
2 changed files with 13 additions and 7 deletions
+1 -3
View File
@@ -4,6 +4,4 @@ class Run:
def build(self, script):
for command in self.commands:
for line in command.split('\n'):
if line.strip():
script.run(line.strip())
script.run(command)