Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77bfa3e7 authored by Paul Duffin's avatar Paul Duffin Committed by Gerrit Code Review
Browse files

Merge "Do not ignore error when writing environment file"

parents 6bd87750 5e85c665
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -110,7 +110,10 @@ func runSoong(ctx Context, config Config) {
		soongBuildEnv.Set("SOONG_DELVE_PATH", shared.ResolveDelveBinary())
	}

	writeEnvironmentFile(ctx, envFile, soongBuildEnv.AsMap())
	err := writeEnvironmentFile(ctx, envFile, soongBuildEnv.AsMap())
	if err != nil {
		ctx.Fatalf("failed to write environment file %s: %s", envFile, err)
	}

	func() {
		ctx.BeginTrace(metrics.RunSoong, "environment check")