diff --git a/wmake/wmakePrintBuild b/wmake/wmakePrintBuild index 01351975a0..4e727a7438 100755 --- a/wmake/wmakePrintBuild +++ b/wmake/wmakePrintBuild @@ -147,7 +147,7 @@ then # Any of OPENFOAM=, OPENFOAM_API=, OPENFOAM_COM= # OPENFOAM_PLUS= version=$( - sed -ne 's@^.*OPENFOAM\(_API|_COM|_PLUS\)*=\([0-9][0-9]*\).*@\2@p' \ + sed -ne 's@^.*OPENFOAM\(_API\|_COM\|_PLUS\)*=\([0-9][0-9]*\).*@\2@p' \ $WM_DIR/rules/General/general 2>/dev/null )