From b8090a8e185b860deded2f36986e0dc07a1f66ab Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sun, 24 Jan 2021 20:58:30 -0800 Subject: [PATCH] Ensure cwd is writable in module scripts Close #3763 --- scripts/util_functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index 05a676003..3ab2b0412 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -680,6 +680,7 @@ is_legacy_script() { install_module() { rm -rf $TMPDIR mkdir -p $TMPDIR + cd $TMPDIR setup_flashable mount_partitions