diff --git a/scripts/apply-ci-snapshots.sh b/scripts/apply-ci-snapshots.sh index 680701175..457487821 100755 --- a/scripts/apply-ci-snapshots.sh +++ b/scripts/apply-ci-snapshots.sh @@ -18,8 +18,7 @@ for cmd in gh cargo-insta git; do done REPO="astral-sh/uv" -TMPDIR_BASE="${TMPDIR:-/tmp}" -DOWNLOAD_DIR="$TMPDIR_BASE/uv-pending-snapshots-$$" +DOWNLOAD_DIR="$(mktemp -d)" cleanup() { rm -rf "$DOWNLOAD_DIR"