Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
adapt projet_description for new python3 detection
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 22 Nov 2020 16:01:01 +0000 (17:01 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 22 Nov 2020 16:01:22 +0000 (17:01 +0100)
tools/jenkins/project_description.sh

index 3bfd65d..1be7898 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 PythonInterp" ./consoleText| sed "s/.*-- Found PythonInterp.*found suitable version \"\([a-zA-Z0-9\.]*\)\",.*/\1/g"
+    grep -m 1 "Found Python3" ./consoleText| sed "s/.*-- Found Python3.*found version \"\([a-zA-Z0-9\.]*\)\".*/\1/g"
   else
     echo ""
   fi