Ensure cwd is writable in module scripts

Close #3763
This commit is contained in:
topjohnwu 2021-01-24 20:58:30 -08:00
parent c609a01e55
commit b8090a8e18

View File

@ -680,6 +680,7 @@ is_legacy_script() {
install_module() {
rm -rf $TMPDIR
mkdir -p $TMPDIR
cd $TMPDIR
setup_flashable
mount_partitions