BUG: paraview3/cshrc : csh syntax

This commit is contained in:
mattijs
2011-01-06 11:45:27 +00:00
parent 428085d0a0
commit 218382ac6a

View File

@ -2,7 +2,7 @@
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
# \\ / A nd | Copyright (C) 1991-2011 OpenCFD Ltd.
# \\/ M anipulation |
#------------------------------------------------------------------------------
# License
@ -49,13 +49,12 @@ foreach cmake ( cmake-2.8.3 cmake-2.8.1 )
end
# set VERSION and MAJOR (version) variables
if ( ! $?ParaView_VERSION )
then
if ( ! $?ParaView_VERSION ) then
setenv ParaView_VERSION 3.8.0
setenv ParaView_MAJOR unknown
echo "Warning in app/paraview3/cshrc:"
echo " ParaView_VERSION not set, using '$ParaView_VERSION'"
fi
endif
if ( ! $?ParaView_MAJOR ) setenv ParaView_MAJOR unknown
# if needed, set MAJOR version to correspond to VERSION