From 946abe2a471a788c0cc69bad0e67be916bbdae7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Mon, 3 Jul 2023 13:13:28 +0200
Subject: [PATCH] Trying to condition which configuration gets read first.

---
 examples/example_utils.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/example_utils.sh b/examples/example_utils.sh
index 328190e..0d35752 100644
--- a/examples/example_utils.sh
+++ b/examples/example_utils.sh
@@ -108,7 +108,7 @@ GIT:
 EOF
 
   # Create and write the additional config file
-  cat >autosubmit/${EXPID}/conf/myconf.yml <<EOF
+  cat >autosubmit/${EXPID}/conf/00_myconf.yml <<EOF
 spack:
   init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty
   url: https://github.com/spack/spack.git # url to download spack if necessary
@@ -140,7 +140,7 @@ EOF
 
   # If EXTRA_NAMELIST is provided, create and write the extra namelist file
   if [ ! -z "$EXTRA_CONFIGURATION" ]; then
-    cat >autosubmit/${EXPID}/conf/extra_conf.yml <<EOF
+    cat >autosubmit/${EXPID}/conf/01_extra_conf.yml <<EOF
 $EXTRA_CONFIGURATION
 EOF
   fi
-- 
GitLab