backuptool: Export TMPDIR to /tmp for non-AB

It attempts to use /data/local/tmp instead, which results in the
following error message:

[  154.293873] /tmp/addon.d/50-lineage.sh[43]: can't create temporary file : No such file or directory

Change-Id: I34be32ef41c92a6b543c75e4beaa3f326615e888
This commit is contained in:
LuK1337
2025-03-30 10:31:24 +02:00
parent d0f628d166
commit eed8eb046f

View File

@@ -6,6 +6,7 @@
export C=/tmp/backupdir
export SYSDEV="$(readlink -nf "$2")"
export SYSFS="$3"
export TMPDIR=/tmp
export V=22
export ADDOND_VERSION=3