Use mktemp -d in apply-ci-snapshots.sh (#18439)
https://github.com/astral-sh/uv/pull/18424#discussion_r2928468965
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user