mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 05:18:24 +00:00
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…
x
Reference in New Issue
Block a user