From 575c63567e8c36340b7772edd2f84fefd9fe58a2 Mon Sep 17 00:00:00 2001 From: conbold Date: Fri, 10 Nov 2017 16:33:38 +0100 Subject: [PATCH] extract_utils: Use temporary folder for system dump * This way it's automatically deleted at the end of the extraction Change-Id: I77b3357875b8070d370f04c5a245f9aa3ca1939c --- build/tools/extract_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/extract_utils.sh b/build/tools/extract_utils.sh index e41af24d..f173c311 100644 --- a/build/tools/extract_utils.sh +++ b/build/tools/extract_utils.sh @@ -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.