STYLE: minor cleanup of foamEtcFile

This commit is contained in:
Mark Olesen
2017-02-23 09:17:46 +01:00
parent c1ca2f4a38
commit cc51def1fd
2 changed files with 73 additions and 71 deletions

View File

@ -161,7 +161,7 @@ then
# Retrieve OPENFOAM_PLUS=<digits> from $WM_DIR/rules/General/general
version=$(
sed -ne 's@^.*OPENFOAM_PLUS=\([0-9][0-9]*\).*@\1@p' \
$WM_DIR/rules/General/general 2>/dev/null | tail -1
$WM_DIR/rules/General/general 2>/dev/null
)
if [ -n "$version" ]