From 857488000f40ab735c5ff82f0d5dc3737c7473ac Mon Sep 17 00:00:00 2001
From: Quentin Rodier <quentin.rodier@meteo.fr>
Date: Wed, 4 May 2022 16:12:01 +0200
Subject: [PATCH] Quentin 04/05/2022: update prep_code : delete temporary file
 for mnh_expand

---
 prep_code.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/prep_code.sh b/prep_code.sh
index db65c92fb..2ddfee66c 100755
--- a/prep_code.sh
+++ b/prep_code.sh
@@ -169,6 +169,7 @@ if [ -n "${mnh_expand_options-}" ]; then
       [ $verbose -gt 1 ] && echo "Applying mnh_expand on $1"
       $PHYEXTOOLSDIR/correct_indent.py $1 "detect"
       mnh_expand -DMNH_EXPAND_NOCPP $mnh_expand_options $1_EXPAND > tempo_mnh_expand
+      rm -f $1_EXPAND
       $PHYEXTOOLSDIR/correct_indent.py tempo_mnh_expand "indent"
       mv tempo_mnh_expand_CORRECT_INDENT $1
     fi
-- 
GitLab