mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
fix: ignore set pipefail errors when DOKKU_SHELL is set to sh
This commit is contained in:
@@ -26,7 +26,7 @@ func constructScript(command string, shell string, isHerokuishImage bool, isCnbI
|
||||
return words
|
||||
}
|
||||
|
||||
script := []string{"set -eo pipefail;"}
|
||||
script := []string{"set -e;", "set -o pipefail || true;"}
|
||||
if os.Getenv("DOKKU_TRACE") == "1" {
|
||||
script = append(script, "set -x;")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user