liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1c002c4065dde11fd552dea836d94dca0f081f43
parent 2af8f2382a54a6966599e2b5d51abdfbc3822b83
Author: Daniel Barlow <dan@telent.net>
Date:   Sun,  7 May 2023 22:06:49 +0100

min-copy-closure: improve output

Diffstat:
Mpkgs/min-copy-closure/min-copy-closure.sh | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pkgs/min-copy-closure/min-copy-closure.sh b/pkgs/min-copy-closure/min-copy-closure.sh @@ -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