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

Commit 7aeb3886 authored by Dan Willemsen's avatar Dan Willemsen Committed by android-build-merger
Browse files

Use our own TMPDIR

am: 32a669b0

Change-Id: I11389f1291e47c2abb42340235a70458b55e4eba
parents 08c01e09 32a669b0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -115,6 +115,8 @@ func NewConfig(ctx Context, args ...string) Config {
	// Tell python not to spam the source tree with .pyc files.
	ret.environ.Set("PYTHONDONTWRITEBYTECODE", "1")

	ret.environ.Set("TMPDIR", absPath(ctx, ret.TempDir()))

	// Precondition: the current directory is the top of the source tree
	if _, err := os.Stat(srcDirFileCheck); err != nil {
		if os.IsNotExist(err) {