extract_utils: Use temporary folder for system dump

* This way it's automatically deleted at the end of the extraction

Change-Id: I77b3357875b8070d370f04c5a245f9aa3ca1939c
gugelfrei
conbold 7 years ago committed by Bruno Martins
parent df29022a38
commit 575c63567e

@ -887,7 +887,7 @@ function extract() {
fi
if [ -f "$SRC" ] && [ "${SRC##*.}" == "zip" ]; then
DUMPDIR="$LINEAGE_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.

Loading…
Cancel
Save