CONFIG: sourcing etc/cshrc twice unset the environment (fixes #2458)

This commit is contained in:
Mark Olesen 2022-05-07 15:53:55 +02:00
parent 2c7621116e
commit f8dc192941

View File

@ -5,7 +5,7 @@
# \\ / A nd | www.openfoam.com # \\ / A nd | www.openfoam.com
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Copyright (C) 2018-2021 OpenCFD Ltd. # Copyright (C) 2018-2022 OpenCFD Ltd.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later. # This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
@ -210,8 +210,8 @@ endif
# Remove duplicates from environment paths # Remove duplicates from environment paths
_foamClean PATH "$foamOldDirs" _foamClean PATH
_foamClean MANPATH "$foamOldDirs" _foamClean MANPATH
_foamClean -lib _foamClean -lib
# Add trailing ':' for system manpages # Add trailing ':' for system manpages