Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 575c6356 authored by conbold's avatar conbold Committed by Bruno Martins
Browse files

extract_utils: Use temporary folder for system dump

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

Change-Id: I77b3357875b8070d370f04c5a245f9aa3ca1939c
parent df29022a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.