mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Start-up scripts: The environment variables are now set unconditionally as in 1.7.x
This commit is contained in:
@ -50,9 +50,9 @@ do
|
||||
done
|
||||
|
||||
|
||||
# set VERSION and MAJOR (version) variables if not already set
|
||||
[ -n "$ParaView_VERSION" ] || ParaView_VERSION=3.8.0
|
||||
[ -n "$ParaView_MAJOR" ] || ParaView_MAJOR=unknown
|
||||
# set VERSION and MAJOR (version) variables
|
||||
ParaView_VERSION=3.8.0
|
||||
ParaView_MAJOR=unknown
|
||||
|
||||
# if needed, set MAJOR version to correspond to VERSION
|
||||
# ParaView_MAJOR is "<digits>.<digits>" from ParaView_VERSION
|
||||
@ -95,4 +95,5 @@ fi
|
||||
|
||||
|
||||
unset cleaned cmake paraviewInstDir paraviewPython
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@ -48,9 +48,9 @@ foreach cmake ( cmake-2.8.1 cmake-2.8.0 cmake-2.6.4 )
|
||||
endif
|
||||
end
|
||||
|
||||
# set VERSION and MAJOR (version) variables if not already set
|
||||
if ( ! $?ParaView_VERSION ) setenv ParaView_VERSION 3.8.0
|
||||
if ( ! $?ParaView_MAJOR ) setenv ParaView_MAJOR unknown
|
||||
# set VERSION and MAJOR (version) variables
|
||||
setenv ParaView_VERSION 3.8.0
|
||||
setenv ParaView_MAJOR unknown
|
||||
|
||||
# if needed, set MAJOR version to correspond to VERSION
|
||||
# ParaView_MAJOR is "<digits>.<digits>" from ParaView_VERSION
|
||||
@ -91,4 +91,5 @@ endif
|
||||
|
||||
|
||||
unset cleaned cmake paraviewInstDir paraviewPython
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user