Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
1c1b1874
Commit
1c1b1874
authored
5 years ago
by
Mark OLESEN
Committed by
Andrew Heather
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
CONFIG: accept 'system' for foamConfigurePaths -paraview
parent
38f81f1c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/tools/foamConfigurePaths
+3
-3
3 additions, 3 deletions
bin/tools/foamConfigurePaths
with
3 additions
and
3 deletions
bin/tools/foamConfigurePaths
+
3
−
3
View file @
1c1b1874
...
...
@@ -66,7 +66,7 @@ Components
-scotch-path DIR specify 'SCOTCH_ARCH_PATH' (eg, /opt/scotch_6.0.4)
Graphics
-paraview VER specify 'ParaView_VERSION' (eg, 5.4.1)
-paraview VER specify 'ParaView_VERSION' (eg, 5.4.1
or system
)
-paraview-qt VER specify 'ParaView_QT' (eg, qt-system)
-paraview-path DIR specify 'ParaView_DIR' (eg, /opt/ParaView-5.4.1)
-vtk VER specify 'vtk_version' (eg, VTK-7.1.0)
...
...
@@ -580,11 +580,11 @@ do
-paraview
|
-paraviewVersion
|
--paraviewVersion
)
# Replace ParaView_VERSION=...
expected
=
"[5-9][.0-9]*"
expected
=
"[5-9][.0-9]*"
# but also accept system
optionValue
=
$(
getOptionValue
"
$@
"
)
_matches
"
$optionValue
"
"
$expected
"
||
\
[
"
$optionValue
"
!=
"
${
optionValue
%system
}
"
]
||
\
die
"'
$1
' has bad value: '
$optionValue
'"
replace etc/config.sh/paraview ParaView_VERSION
"
$optionValue
"
replace etc/config.csh/paraview ParaView_VERSION
"
$optionValue
"
adjusted
=
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment