Use mktemp -d in apply-ci-snapshots.sh (#18439)

https://github.com/astral-sh/uv/pull/18424#discussion_r2928468965
This commit is contained in:
Zanie Blue
2026-03-13 08:32:40 -05:00
committed by GitHub
parent 5ede7030cf
commit dfc866c2da
+1 -2
View File
@@ -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"