diff --git a/template/script.sh.erb b/template/script.sh.erb index 77357c1ffaa0b8b888eb947fb878ddc264524039..bfae0fe56a4afafa90669e18bd3933565c0b0cb7 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -7,7 +7,7 @@ module reset # Start JupyterLab Server # module load Anaconda3 -<%= context.custom_environment %> +<%= context.custom_environment.gsub(/\r\n?/, "\n") %> unset XDG_RUNTIME_DIR # Launch the JupyterLab Server jupyter-lab --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>