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
This commit is contained in:
parent
34450cdddd
commit
6d749a58c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user