]> Cypherpunks.ru repositories - nncp.git/blobdiff - makedist.sh
nncp-xfer compares the checksum
[nncp.git] / makedist.sh
index e2c84ffdd672bc390b355baa0719a938e0c0188e..3d00aed205835b4d31da2276fd18afadcc9add6c 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 . \( \
@@ -128,6 +128,7 @@ gpg --enarmor < "$tarball".sig |
     sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
 meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \
     http://www.nncpgo.org/download/"$tarball" \
+    http://y.www.nncpgo.org/download/"$tarball" \
     https://nncp.mirrors.quux.org/download/"$tarball" > "$tarball".meta4
 
 size=$(( $(stat -f %z $tarball) / 1024 ))