1

update TMPDIR to default to /tmp

This commit is contained in:
Motiejus Jakštys 2021-06-10 09:01:03 +03:00 committed by Motiejus Jakštys
parent d828a926d3
commit 357c19df10

View File

@ -101,7 +101,7 @@ def register_all_toolchains():
ZIG_TOOL_PATH = "tools/{zig_tool}" ZIG_TOOL_PATH = "tools/{zig_tool}"
ZIG_TOOL_WRAPPER = """#!/bin/bash ZIG_TOOL_WRAPPER = """#!/bin/bash
export HOME=$TMPDIR export HOME=${TMPDIR:-/tmp}
exec "{zig}" "{zig_tool}" "$@" exec "{zig}" "{zig_tool}" "$@"
""" """