build_library: Create extraction script temp files in $TMPDIR or /tmp

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-05-02 14:27:25 +01:00
parent 68def073cf
commit 10498c29fb
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -53,7 +53,7 @@ if [[ ! -s "${image}" ]]; then
fi fi
mkdir -p "${out}" mkdir -p "${out}"
tmp=$(mktemp --directory eifv-XXXXXX) tmp=$(mktemp --directory -t eifv-XXXXXX)
trap 'rm -rf -- "${tmp}"' EXIT trap 'rm -rf -- "${tmp}"' EXIT
ROOTFS_IDX=0 ROOTFS_IDX=0