install.texi | 2 +- integrity.texi | 2 +- makedist | 12 ++++++------ version | 2 +- diff --git a/install.texi b/install.texi index 784b12fb59840f2fc981ce827f491da3b9bf6b50e04be8b3482e2024c6b3943b..c4145de480907dc0dbf230ca772554831e26830fef71eae7b15b197d5b94f3bc 100644 --- a/install.texi +++ b/install.texi @@ -24,7 +24,7 @@ @example $ mkdir -p myproj/vendor/go.cypherpunks.ru/gogost $ mv gogost-@value{VERSION} myproj/vendor/go.cypherpunks.ru/gogost/v5 $ cd myproj -$ cat > main.go <main.go < VERSION +./version >VERSION go mod vendor -cat > download.texi <download.texi < $texi <$texi < $texi <$texi < $texi <$texi < "$tarball".meta4 + http://y.www.gogost.cypherpunks.ru/"$tarball" <"$tarball" >"$tarball".meta4 size=$(( $(stat -f %z $tarball) / 1024 )) release_date=$(date "+%Y-%m-%d") diff --git a/version b/version index de677df9ac210902df97f7bead2174749ad800419bc2a30811ab14c235cced60..3064e6e31934c0859ebb1d9bed8f1ab059f0ed8ec878b0fbbdb2a8bfe657fcea 100755 --- a/version +++ b/version @@ -1,3 +1,3 @@ #!/bin/sh -e -exec perl -ne 'print "$1\n" if /Version.*"(.*)"$/' < "$(realpath -- $(dirname "$0"))"/gogost.go +exec perl -ne 'print "$1\n" if /Version.*"(.*)"$/' <"$(realpath -- $(dirname "$0"))"/gogost.go