Skip to content

Commit

Permalink
Force newlines in postinstall scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Nov 4, 2024
1 parent 90cf3ec commit e4df1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/venvstacks/pack_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _inject_postinstall_script(
else:
script_contents = _BASE_RUNTIME_POST_INSTALL_SCRIPT
script_path = env_path / script_name
script_path.write_text(script_contents, encoding="utf-8")
script_path.write_text(script_contents, encoding="utf-8", newline="\n")
return script_path


Expand Down

0 comments on commit e4df1c3

Please sign in to comment.