From 200b79d3a6edf5f52de9f58805d879723e2978a9 Mon Sep 17 00:00:00 2001 From: Bo-Chun Louis Chen <louistw@uab.edu> Date: Thu, 18 May 2023 14:41:23 -0500 Subject: [PATCH] Replace CRLF(Windows) with LF(Linux) --- template/script.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/script.sh.erb b/template/script.sh.erb index 54c185d..f54c102 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -7,7 +7,7 @@ module reset # Start Jupyter Notebook Server # module load Anaconda3 -<%= context.custom_environment %> +<%= context.custom_environment.gsub(/\r\n?/, "\n") %> unset XDG_RUNTIME_DIR # Launch the Jupyter Notebook Server jupyter notebook --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %> -- GitLab