extract_utils: Use temporary folder for system dump
* This way it's automatically deleted at the end of the extraction
Change-Id: I77b3357875b8070d370f04c5a245f9aa3ca1939c
diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh
index f3c9240..be5a83c 100755
--- a/build/tools/extract_utils.sh
+++ b/build/tools/extract_utils.sh
@@ -1078,7 +1078,7 @@
fi
if [ -f "$SRC" ] && [ "${SRC##*.}" == "zip" ]; then
- DUMPDIR="$OMNI_ROOT"/system_dump
+ DUMPDIR="$TMPDIR"/system_dump
# Check if we're working with the same zip that was passed last time.
# If so, let's just use what's already extracted.