Skip to content
Snippets Groups Projects
Commit f95f8bf5 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: wmake/wmakePrintBuild -api failed to extract API number

parent 35b3d1c6
Branches
Tags
No related merge requests found
......@@ -147,7 +147,7 @@ then
# Any of OPENFOAM=<digits>, OPENFOAM_API=<digits>, OPENFOAM_COM=<digits>
# OPENFOAM_PLUS=<digits>
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
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment