min-copy-closure: improve output

module-based-network
Daniel Barlow 2023-05-07 22:06:49 +01:00
parent 2af8f2382a
commit 1c002c4065
1 changed files with 3 additions and 2 deletions

View File

@ -13,15 +13,16 @@ coproc remote {
exec 10>&${remote[1]}
for p in $paths; do
echo -n Checking $(basename $p) ...
echo "test -e $p && echo skip || echo $p" >&10
read n <&${remote[0]}
case $n in
skip)
:
echo skip
;;
*)
needed="${needed} $n"
echo Will copy $n
echo will copy
;;
esac
done