From fbcf19153a8f7c7de70a3b27158fef1eb9ff0b8a Mon Sep 17 00:00:00 2001
From: Juan Escobar <escj@aero.obs-mip.fr>
Date: Mon, 8 Jan 2024 14:25:03 +0100
Subject: [PATCH] Juan 08/01/2024:bin/spll* , add LC_ALL=C to avoid warning:
 Invalid multibyte data detected , on awk with none Ascii characters in
 comment <-> iso-8859

---
 bin/spll     | 1 +
 bin/spll_lst | 4 +++-
 bin/spll_new | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/spll b/bin/spll
index 50592120d..58dd5438b 100755
--- a/bin/spll
+++ b/bin/spll
@@ -4,6 +4,7 @@
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
 #set -x
+export LC_ALL=C
 if [ $# -ne 2 ]
 then
 echo ERROR USAGE :: spll NSOURCE file
diff --git a/bin/spll_lst b/bin/spll_lst
index 96bd5b15f..c86fcf06b 100755
--- a/bin/spll_lst
+++ b/bin/spll_lst
@@ -4,6 +4,7 @@
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
 #set -x
+export LC_ALL=C
 if [ $# -ne 2 ]
 then
 echo ERROR USAGE :: spll NSOURCE file
@@ -33,7 +34,8 @@ turb.f90|shallow_mf.f90|rain_ice.f90|lima.f90|\
 lima_adjust_split.f90|lima_precip_scavenging.f90|ini_tiwmx.f90|\
 ini_snow.f90|ini_rain_ice.f90|ini_neb.f90|ini_cst.f90|\
 ice_adjust.f90|gradient_u.f90|gradient_v.f90|gradient_w.f90|\
-gamma.f90|gamma_inc.f90|general_gamma.f90|condensation.f90"
+gamma.f90|gamma_inc.f90|general_gamma.f90|condensation.f90|\
+minpack.f90"
 #
 
 if [ "$SUF" = "f" ]
diff --git a/bin/spll_new b/bin/spll_new
index e469e63c9..2f450ebda 100755
--- a/bin/spll_new
+++ b/bin/spll_new
@@ -4,6 +4,7 @@
 #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
 #MNH_LIC for details. version 1.
 #set -x
+export LC_ALL=C
 if [ $# -ne 2 ]
 then
 echo ERROR USAGE :: spll NSOURCE file
-- 
GitLab