Skip to content
Snippets Groups Projects
Commit 7889e15a authored by GIRARD ALCINDOR Valérian's avatar GIRARD ALCINDOR Valérian
Browse files

Updating the right build_dict to fit the new root versioning scheme

parent 06b7ebc3
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline #293376 passed
...@@ -39,6 +39,12 @@ fi ...@@ -39,6 +39,12 @@ fi
# Get the Major version # Get the Major version
version_major_string="${version%.*}" version_major_string="${version%.*}"
# Since 6.30 they changed the numbering scheme from 6.XX/XX
# to 6.XX.XX
num_char=${#version_major_string}
if [ $num_char -gt 1 ]
then version_major_string="${version%.*.*}"
fi
version_major=$(($version_major_string)) version_major=$(($version_major_string))
# if before version 4, exit # if before version 4, exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment