diff --git a/.gitignore b/.gitignore index aa6317b6..0385beb8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ yb .DS_Store release +.vscode diff --git a/cli/exec.go b/cli/exec.go index ee1908fb..4b6572ce 100644 --- a/cli/exec.go +++ b/cli/exec.go @@ -82,7 +82,7 @@ func (b *ExecCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) log.ActiveSection("Environment") log.Infof("Setting environment variables...") for _, property := range instructions.Exec.Environment["default"] { - s := strings.Split(property, "=") + s := strings.SplitN(property, "=", 2) if len(s) == 2 { buildData.SetEnv(s[0], s[1]) }