Skip to content
Snippets Groups Projects

Fix issues with VTKmDetermineVersion.

Merged Utkarsh Ayachit requested to merge utkarsh.ayachit/vtk-m:fix-determine-version into master
  1. Apr 23, 2018
    • Utkarsh Ayachit's avatar
      Fix issues with VTKmDetermineVersion. · cf91ca52
      Utkarsh Ayachit authored
      The code had 2 issues:
      1. used obsolete 'output' if Git executable was missing. There was a
         possibility that output variable was never set and used some garbage
         value from parent scope.
      
      2. version pattern matching was too liberal and would match
         absolute any long txt so long as it has some numbers in it that matched
         a typical version number.
      cf91ca52
Loading