fix: quote path in bash for cross-OS
ci/woodpecker/push/goreleaser Pipeline was successful
Details
ci/woodpecker/push/goreleaser Pipeline was successful
Details
Signed-off-by: jolheiser <john.olheiser@gmail.com>main
parent
ad08d24312
commit
e8303793b2
|
@ -124,7 +124,7 @@ func (m Meta) writeShellEnv(shell string) error {
|
|||
}
|
||||
tmpl = fmt.Sprintf("let-env %[1]s = ($env.%[1]s | append %%q)\n", path)
|
||||
case "sh":
|
||||
tmpl = "PATH=$PATH:%s\n"
|
||||
tmpl = "PATH=$PATH:%q\n"
|
||||
case "ps1":
|
||||
tmpl = `$env:Path = "$env:Path;%s"` + "\n"
|
||||
default:
|
||||
|
|
Reference in New Issue