ENH: preserve command-line settings in FOAM_SETTINGS

This commit is contained in:
Mark Olesen
2010-12-22 15:41:51 +01:00
parent 4f2fde2094
commit 603aa1e61c
4 changed files with 12 additions and 8 deletions

View File

@ -74,7 +74,8 @@ alias _foamSource 'if ($?FOAM_VERBOSE && $?prompt) echo "Sourcing: \!*"; if (\!*
# Add in preset user or site preferences:
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile prefs.csh`
# Evaluate command-line parameters
# Evaluate command-line parameters and record settings for later
setenv FOAM_SETTINGS "${*}"
while ( $#argv > 0 )
switch ($argv[1])
case *=: