From 357c19df1029db1c456d2a47a4cecf789b27192b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 10 Jun 2021 09:01:03 +0300 Subject: [PATCH] update TMPDIR to default to /tmp --- toolchain/defs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index 687e4ad..c9234f7 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -101,7 +101,7 @@ def register_all_toolchains(): ZIG_TOOL_PATH = "tools/{zig_tool}" ZIG_TOOL_WRAPPER = """#!/bin/bash -export HOME=$TMPDIR +export HOME=${TMPDIR:-/tmp} exec "{zig}" "{zig_tool}" "$@" """