From aa6a0f54a0898eb2c402cbd2e0ae1f0d6308fbb5 Mon Sep 17 00:00:00 2001 From: Ilia Kirianovskii Date: Mon, 18 Aug 2025 17:05:59 +0200 Subject: [PATCH] Revert "Temporarily mkdir XDG_CACHE_HOME environment variable (if any) to ensure the target directory symlink destination exists in bazel.cmd" This reverts commit 78b0b160e7a5ef1673dcc4bc7709bc654c1d1714. GitOrigin-RevId: ff7103b547c2a2b42ea18b7c7477ee690fba0c0b --- bazel.cmd | 1 - 1 file changed, 1 deletion(-) diff --git a/bazel.cmd b/bazel.cmd index b39e8466b834..7bd946338e32 100755 --- a/bazel.cmd +++ b/bazel.cmd @@ -42,7 +42,6 @@ case $arch in esac binary_path="$target_dir/bazelisk-$bazelisk_version-${os}-${arch}" -[ -n "${XDG_CACHE_HOME:-}" ] && mkdir -p "$XDG_CACHE_HOME" mkdir -p "$target_dir" if [ ! -x "$binary_path" ]; then