From c0abf25251e0b2ae861108da9bd690ffae1fc09d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Tue, 23 May 2023 15:54:48 +0200
Subject: [PATCH] Fix prepare_date_local.sh

---
 templates/real-from-dwd-ana/prepare_date_local.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/real-from-dwd-ana/prepare_date_local.sh b/templates/real-from-dwd-ana/prepare_date_local.sh
index ecbaa23..6cca59f 100644
--- a/templates/real-from-dwd-ana/prepare_date_local.sh
+++ b/templates/real-from-dwd-ana/prepare_date_local.sh
@@ -35,7 +35,7 @@ if [ "${IS_LOCAL}" == "True" ]; then
 
 
   # Check if we copy the initial conditions from the local system or the remote one
-  if [ "${IS_LOCAL}" == "True" ]; then
+  if [ "${IS_LOCAL}" != "True" ]; then
     # Create member folder
     ssh "${HPCUSER}@${HPCHOST}" mkdir -p ${COMMON_DATE_FOLDER}
 
-- 
GitLab