summaryrefslogtreecommitdiff
path: root/script/update/blobs
diff options
context:
space:
mode:
Diffstat (limited to 'script/update/blobs')
-rwxr-xr-xscript/update/blobs/inject4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/update/blobs/inject b/script/update/blobs/inject
index b68e6f11..ab943a3c 100755
--- a/script/update/blobs/inject
+++ b/script/update/blobs/inject
@@ -114,7 +114,9 @@ inject_blobs()
patch_release_roms()
{
- _tmpdir=$(mktemp -d "/tmp/${board}_tmpXXXX")
+ _tmpdir="tmp/romdir"
+ rm -Rf "${_tmpdir}" || err "patch_release_roms 1: can't prepare tmpdir"
+ mkdir -p "${_tmpdir}" || err "patch_release_roms: can't make tmpdir"
tar -xf "${releasearchive}" -C "${_tmpdir}" || \
err "patch_release_roms: could not extract release archive"