From 76774cd384755f07eda24abe418cd58dd3000526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 6 Aug 2021 11:32:21 +0300 Subject: [PATCH] fix tmpdir --- toolchain/defs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/defs.bzl b/toolchain/defs.bzl index b761b60..0e4b4e8 100644 --- a/toolchain/defs.bzl +++ b/toolchain/defs.bzl @@ -175,7 +175,7 @@ ZIG_TOOL_PATH = "tools/{zig_tool}" ZIG_TOOL_WRAPPER = """#!/bin/bash set -e -if [[ -z "$TMPDIR" ]]; then +if [[ -n "$TMPDIR" ]]; then _cache_prefix=$TMPDIR else _cache_prefix="$HOME/.cache"