From 9259e6e35606ce41c83e0db255409c818f533cf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr>
Date: Wed, 29 Nov 2023 09:20:07 +0100
Subject: [PATCH] S. Riette 29 Nov 2023: BF wrong position of argument to call
 prep_code.sh

---
 build/with_fcm/make_fcm.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/with_fcm/make_fcm.sh b/build/with_fcm/make_fcm.sh
index 7d05698d9..0cc4b4d71 100755
--- a/build/with_fcm/make_fcm.sh
+++ b/build/with_fcm/make_fcm.sh
@@ -368,9 +368,9 @@ if [ $packcreation -eq 1 ]; then
   if [ "$fromdir" == '' ]; then
     echo "Clone repository, and checkout commit $commit (using prep_code.sh)"
     if [[ $commit == testprogs${separator}* ]]; then
-      PATH=$UPDATEDPATH prep_code.sh -c --pyft_opts_env PYFT_OPTS $commit src #This commit is ready for inclusion
+      PATH=$UPDATEDPATH prep_code.sh --pyft_opts_env PYFT_OPTS -c $commit src #This commit is ready for inclusion
     else
-      PATH=$UPDATEDPATH prep_code.sh -c --pyft_opts_env PYFT_OPTS $commit $expand_options $subs -m testprogs src
+      PATH=$UPDATEDPATH prep_code.sh --pyft_opts_env PYFT_OPTS -c $commit $expand_options $subs -m testprogs src
     fi
   else
     echo "Copy $fromdir"
-- 
GitLab