foamGet: set correct target directory for fvConstraints
This commit is contained in:
@ -154,9 +154,13 @@ setTgt () {
|
||||
_tgt="$3"
|
||||
|
||||
! [ "$_tgt" ] && \
|
||||
echo "$_file" | grep -Eq "(fvModel|fvConstraint)" && \
|
||||
echo "$_file" | grep -q fvModel && \
|
||||
_tgt="constant"
|
||||
|
||||
! [ "$_tgt" ] && \
|
||||
echo "$_file" | grep -q fvConstraint && \
|
||||
_tgt="system"
|
||||
|
||||
! [ "$_tgt" ] && \
|
||||
case "$prefix" in
|
||||
All*) _tgt="." ;;
|
||||
|
||||
Reference in New Issue
Block a user