fix: remove bash/sh wrapping
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Moritz 2023-12-13 18:27:12 +01:00
parent 64328c79b1
commit ac055c932e
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def run_commands(commands):
if not command:
continue
# Remove bash/sh wrapping
command = command.removeprefix('bash -c').removeprefix('sh -c')
command = command.removeprefix('bash -c').removeprefix('sh -c').removeprefix(' ')
# Remove quotes surrounding the command
if (len(command) >= 2 and command[0] == command[-1] and (command[0] == "'" or command[0] == '"')):
command = command[1:-1]