Commit 6d749a58 authored by osm0sis's avatar osm0sis Committed by John Wu

scripts: fix addon.d using $TMPDIR

/data/adb/magisk/addon.d.sh: cd: line 73: can't cd to /dev/tmp: no such file or directory
parent 34450cdd
......@@ -70,6 +70,7 @@ main() {
fi
# Ensure we aren't in /tmp/addon.d anymore (since it's been deleted by addon.d)
mkdir -p $TMPDIR
cd $TMPDIR
$BOOTMODE || recovery_actions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment