From: Sergey Matveev Date: Wed, 10 Nov 2021 09:43:54 +0000 (+0300) Subject: Quiet rmdir X-Git-Tag: v8.0.2^2 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=7015e4bd72f76e140c879509225f33b0f5b26c11 Quiet rmdir --- diff --git a/makedist.sh b/makedist.sh index e2c84ff..0c90ba8 100755 --- a/makedist.sh +++ b/makedist.sh @@ -26,7 +26,7 @@ rm -r \ golang.org/x/sys/plan9 \ golang.org/x/sys/windows find github.com/klauspost/compress golang.org/x/sys -name "*_test.go" -delete -find . -type d -exec rmdir {} + || : +find . -type d -exec rmdir {} + 2>/dev/null || : cd ../.. rm -r ports find . \( \