Commit b8090a8e authored by topjohnwu's avatar topjohnwu

Ensure cwd is writable in module scripts

Close #3763
parent c609a01e
...@@ -680,6 +680,7 @@ is_legacy_script() { ...@@ -680,6 +680,7 @@ is_legacy_script() {
install_module() { install_module() {
rm -rf $TMPDIR rm -rf $TMPDIR
mkdir -p $TMPDIR mkdir -p $TMPDIR
cd $TMPDIR
setup_flashable setup_flashable
mount_partitions mount_partitions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment