fix: quote path in bash for cross-OS
ci/woodpecker/push/goreleaser Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-02-02 16:02:13 -06:00
parent ad08d24312
commit e8303793b2
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -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: