]> Cypherpunks.ru repositories - nncp.git/commitdiff
Quiet rmdir
authorSergey Matveev <stargrave@stargrave.org>
Wed, 10 Nov 2021 09:43:54 +0000 (12:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 10 Nov 2021 09:43:54 +0000 (12:43 +0300)
makedist.sh

index e2c84ffdd672bc390b355baa0719a938e0c0188e..0c90ba8fd034cb37ae417c20c82b1d0e92e32e0a 100755 (executable)
@@ -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 . \( \