min-copy-closure: improve output

This commit is contained in:
Daniel Barlow 2023-05-07 22:06:49 +01:00
parent 2af8f2382a
commit 1c002c4065

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