mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +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
|
fi
|
||||||
|
|
||||||
# Ensure we aren't in /tmp/addon.d anymore (since it's been deleted by addon.d)
|
# Ensure we aren't in /tmp/addon.d anymore (since it's been deleted by addon.d)
|
||||||
|
mkdir -p $TMPDIR
|
||||||
cd $TMPDIR
|
cd $TMPDIR
|
||||||
|
|
||||||
$BOOTMODE || recovery_actions
|
$BOOTMODE || recovery_actions
|
||||||
|
Loading…
Reference in New Issue
Block a user