Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions automation/script/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1755,9 +1755,10 @@ def _run(self, i):
env['MLC_TMP_CURRENT_PATH'], env['MLC_OUTDIRNAME'])
env['MLC_OUTDIRNAME'] = c_outdirname

if not os.path.exists(c_outdirname):
os.makedirs(c_outdirname)
os.chdir(c_outdirname)
if not fake_run: # prevent permission error inside docker runs
if not os.path.exists(c_outdirname):
os.makedirs(c_outdirname)
os.chdir(c_outdirname)

# Check if pre-process and detect
if 'preprocess' in dir(customize_code) and not fake_run:
Expand Down
Loading