foamGet: fixed bug in commit 3b72908b

This commit is contained in:
Chris Greenshields
2024-12-19 12:36:56 +00:00
parent 999196b7c1
commit f4db98dd0d

View File

@ -295,7 +295,7 @@ read -r nFile
file="$(setFile "$files" "$nFile")" file="$(setFile "$files" "$nFile")"
if tgt="$(setTgt "$prefix" "$file" "$tgt" "$region")" if tgt="$(setTgt "$prefix" "$file" "$tgt" "$region")"
then then
cpFile "$files" "$tgt" && exit 0 cpFile "$file" "$tgt" && exit 0
else else
error "target directory does not exist: '$tgt'" error "target directory does not exist: '$tgt'"
fi fi