From 6d749a58c63dea73b4bc02566b7986e955ae2c25 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Tue, 18 Aug 2020 23:04:39 -0300 Subject: [PATCH] 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 --- scripts/addon.d.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/addon.d.sh b/scripts/addon.d.sh index 329563091..0b0c35ea3 100644 --- a/scripts/addon.d.sh +++ b/scripts/addon.d.sh @@ -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