Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a100b496
Commit
a100b496
authored
Feb 05, 2020
by
Mark OLESEN
Browse files
BUG: csh ignores additional parameters (fixes
#1582
)
parent
e53419c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
etc/config.csh/setup
View file @
a100b496
...
...
@@ -5,11 +5,10 @@
# \\ / A nd | www.openfoam.com
# \\/ M anipulation |
#------------------------------------------------------------------------------
# Copyright (C) 2018-20
19
OpenCFD Ltd.
# Copyright (C) 2018-20
20
OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
# <http://www.gnu.org/licenses/>.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# File
# etc/config.csh/setup
...
...
@@ -89,7 +88,7 @@ endif
# Capture and evaluate any command-line parameters
# These can be used to set/unset values, specify additional files etc.
setenv FOAM_SETTINGS
"
$
{
*
}
"
setenv FOAM_SETTINGS
"
$
argv
[*]
"
while
(
$#argv
>
0
)
switch
(
$argv
[
1]
)
...
...
etc/cshrc
View file @
a100b496
...
...
@@ -6,11 +6,10 @@
# \\/ M anipulation |
#------------------------------------------------------------------------------
# Copyright (C) 2011-2016 OpenFOAM Foundation
# Copyright (C) 2016-20
19
OpenCFD Ltd.
# Copyright (C) 2016-20
20
OpenCFD Ltd.
#------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM, licensed under GNU General Public License
# <http://www.gnu.org/licenses/>.
# This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
#
# File
# etc/cshrc
...
...
@@ -176,7 +175,7 @@ endif
# Finalize setup of OpenFOAM environment
if
(
-d
"
$WM_PROJECT_DIR
"
)
then
if
(
$?
FOAM_VERBOSE
&&
$?
prompt
)
echo
"source
$WM_PROJECT_DIR
/etc/config.csh/setup"
source
"
$WM_PROJECT_DIR
/etc/config.csh/setup"
"
${
*
}
"
source
"
$WM_PROJECT_DIR
/etc/config.csh/setup"
$argv
[
*
]
else
echo
"Error: did not locate installation path for
$WM_PROJECT
-
$WM_PROJECT_VERSION
"
echo
"No directory:
$WM_PROJECT_DIR
"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment