mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-06 17:40:58 +00:00
Fix shellcommand error on sh shell (#1464)
Co-authored-by: Lim Chun Leng <limchunleng@gmail.com>
This commit is contained in:
parent
76d766bcd1
commit
fe754290e3
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ func (s *Step) ShellCommand() string {
|
|||
case "python":
|
||||
shellCommand = "python {0}"
|
||||
case "sh":
|
||||
shellCommand = "sh -e -c {0}"
|
||||
shellCommand = "sh -e {0}"
|
||||
case "cmd":
|
||||
shellCommand = "%ComSpec% /D /E:ON /V:OFF /S /C \"CALL \"{0}\"\""
|
||||
case "powershell":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue