From 919b5056668c75274c0cc18f0e64d3221340eae5 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Thu, 18 May 2023 14:47:15 -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 77357c1..bfae0fe 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 %>
-- 
GitLab