foamGet: fixed bug in commit 3b72908b
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user