Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adapt projet_description again.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 22 Nov 2020 21:31:30 +0000 (22:31 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 22 Nov 2020 21:32:09 +0000 (22:32 +0100)
tools/jenkins/project_description.sh

index 1be7898..55e5df7 100755 (executable)
@@ -34,7 +34,7 @@ get_ns3(){
 get_python(){
   found=$(grep -c "Compile Python bindings .....: ON" ./consoleText)
   if [ "$found" != 0 ]; then
-    grep -m 1 "Found Python3" ./consoleText| sed "s/.*-- Found Python3.*found version \"\([a-zA-Z0-9\.]*\)\".*/\1/g"
+    grep -m 1 "Found Python" ./consoleText| sed "s/.*-- Found Python.*found version \"\([a-zA-Z0-9\.]*\)\".*/\1/g"
   else
     echo ""
   fi