From 274efb49e747bc27f20cb7a320e38166711fa47c Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 3 Jun 2018 17:00:42 +0800 Subject: [PATCH] Fix modules installation error --- scripts/util_functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index e8f499ee1..7545e4087 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -375,6 +375,7 @@ mount_magisk_img() { fi ui_print "- Mounting $IMG to $MOUNTPATH" + mkdir -p $MOUNTPATH 2>/dev/null MAGISKLOOP=`$MAGISKBIN/magisk --mountimg $IMG $MOUNTPATH` is_mounted $MOUNTPATH || abort "! $IMG mount failed..." }