X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=blobdiff_plain;f=makedist.sh;h=3d00aed205835b4d31da2276fd18afadcc9add6c;hp=e2c84ffdd672bc390b355baa0719a938e0c0188e;hb=2cad23b498bbb9fc1e929b4900b40e520017c614;hpb=935b9cc1c9fa935093a463f3712f6eaac39f1120 diff --git a/makedist.sh b/makedist.sh index e2c84ff..3d00aed 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 . \( \ @@ -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 ))