From 5692a5b3647ac7d8a912f94df00d64d6a8fdf53d Mon Sep 17 00:00:00 2001
From: Adrien Matta <matta@lpccaen.in2p3.fr>
Date: Tue, 16 Jan 2024 11:21:57 +0100
Subject: [PATCH] * fixing build_dict.sh.in

---
 NPLib/scripts/build_dict.sh.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/NPLib/scripts/build_dict.sh.in b/NPLib/scripts/build_dict.sh.in
index 06950b3ef..e032afeff 100755
--- a/NPLib/scripts/build_dict.sh.in
+++ b/NPLib/scripts/build_dict.sh.in
@@ -38,7 +38,8 @@ if [ $is_root != "" ];
 fi
 
 # Get the Major version
-version_major="${version%.*}"
+version_major_string="${version%.*}"
+version_major=$(($version_major_string))
 
 # if before version 4, exit
 if [ $version_major -lt 5 ]
-- 
GitLab