summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/utils/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/utils/shell.py b/cerbero/utils/shell.py
index ad302943..528fe969 100644
--- a/cerbero/utils/shell.py
+++ b/cerbero/utils/shell.py
@@ -669,7 +669,7 @@ C:\\msys64\\msys2_shell.cmd -ucrt64 -defterm -no-start -here -use-full-path -c '
rc_tmp.write(shellrc)
rc_tmp.flush()
if 'zsh' in shell:
- env['ZDOTDIR'] = tmp.name
+ env['ZDOTDIR'] = tmp
os.execlpe(shell, shell, env)
else:
# Check if the shell supports passing the rcfile