From 09fafa789810af53827c7fe657a906c9713fd626 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr>
Date: Mon, 30 May 2022 10:34:05 +0200
Subject: [PATCH] Small bugfix in the commit message generated by prep_code

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

diff --git a/prep_code.sh b/prep_code.sh
index 5b39b92a8..44529ccfc 100755
--- a/prep_code.sh
+++ b/prep_code.sh
@@ -41,7 +41,7 @@ function usage {
   echo "To use mnh_expand... it must be installed (alongside the filepp tool)"
 }
 
-full_command="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) $@"
+full_command="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BASH_SOURCE[0]}") $@"
 separator='_' #- be carrefull, gmkpack (at least on belenos) has multiple allergies (':', '.', '@')
               #- seprator must be in sync with prep_code.sh separator
 
-- 
GitLab