From 83b8e3c33a8170fa7ee8b0e007f2c2193bdf4f4f Mon Sep 17 00:00:00 2001
From: Anne Philipp <anne.philipp@univie.ac.at>
Date: Fri, 14 Dec 2018 00:44:48 +0100
Subject: [PATCH] minor modification due to variable name change of flexpart
 root script directory into flexpartdir

---
 setup.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.sh b/setup.sh
index 013ece4..6f5bd7d 100755
--- a/setup.sh
+++ b/setup.sh
@@ -18,7 +18,7 @@ ECUID='km4a'
 ECGID='at'
 GATEWAY='srvx8.img.univie.ac.at'
 DESTINATION='annep@genericSftp'
-FLEXPART_ROOT_SCRIPTS=""
+FLEXPARTDIR=""
 JOB_TEMPLATE="job.template"
 CONTROLFILE="CONTROL_EA5.testgrid"
 # -----------------------------------------------------------------
@@ -56,8 +56,8 @@ fi
 if [ -n "$MAKEFILE" ]; then
   parameterlist+=" --makefile=$MAKEFILE"
 fi
-if [ -n "$FLEXPART_ROOT_SCRIPTS" ]; then # not empty
-  parameterlist+=" --flexpart_root_scripts=$FLEXPART_ROOT_SCRIPTS"
+if [ -n "$FLEXPARTDIR" ]; then # not empty
+  parameterlist+=" --flexpartdir=$FLEXPARTDIR"
 fi
 if [ -n "$JOB_TEMPLATE" ]; then
   parameterlist+=" --job_template=$JOB_TEMPLATE"
-- 
GitLab