ENH: avoid stray options affecting _foamEval, pass FOAM_SETTINGS to foamExec

This commit is contained in:
Mark Olesen
2011-04-28 08:32:00 +02:00
parent debb4b42fd
commit b55c3fb66b
3 changed files with 9 additions and 1 deletions

View File

@ -144,6 +144,10 @@ _foamEval()
while [ $# -gt 0 ]
do
case "$1" in
-*)
# stray option (not meant for us here) -> get out
break
;;
*=)
# name= -> unset name
[ "$FOAM_VERBOSE" -a "$PS1" ] && echo "unset ${1%=}"