mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
etc/ shell settings cleanup
* prefix internal functions with _foam to prevent collisions
* cleanup functions after use
* centralized FOAM_VERBOSE info to etc/{bashrc,cshrc}
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# Script
|
||||
# bashrc
|
||||
# paraview/bashrc
|
||||
#
|
||||
# Description
|
||||
# Setup file for Paraview.
|
||||
@ -31,12 +31,6 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if [ "$PS1" -a "$foamDotFile" ]; then
|
||||
if [ "$FOAM_VERBOSE" ]; then
|
||||
echo "Executing: $foamDotFile"
|
||||
fi
|
||||
fi
|
||||
|
||||
export CMAKE_HOME=$WM_THIRD_PARTY_DIR/cmake-2.4.6/platforms/$WM_ARCH
|
||||
|
||||
if [ -r $CMAKE_HOME ]; then
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# Script
|
||||
# cshrc
|
||||
# paraview/cshrc
|
||||
#
|
||||
# Description
|
||||
# Startup File for Paraview.
|
||||
@ -31,12 +31,6 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
if ($?prompt && $?foamDotFile) then
|
||||
if ($?FOAM_VERBOSE) then
|
||||
echo "Executing: $foamDotFile"
|
||||
endif
|
||||
endif
|
||||
|
||||
setenv CMAKE_HOME $WM_THIRD_PARTY_DIR/cmake-2.4.6/platforms/$WM_ARCH
|
||||
|
||||
if ( -r $CMAKE_HOME ) then
|
||||
|
||||
Reference in New Issue
Block a user