diff options
author | ng0 <ng0@n0.is> | 2019-05-22 17:14:58 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-05-22 17:14:58 +0000 |
commit | 3ca7a0b09ce7f045258a84aefd45c2c1e8c7a549 (patch) | |
tree | 0799d1adca5a431cbbc695f0f1875112befdb1bb | |
parent | d9761176a91dde2c61c963c7f0bb13c678cbefc8 (diff) | |
download | gnurl-3ca7a0b09ce7f045258a84aefd45c2c1e8c7a549.tar.gz gnurl-3ca7a0b09ce7f045258a84aefd45c2c1e8c7a549.tar.bz2 gnurl-3ca7a0b09ce7f045258a84aefd45c2c1e8c7a549.zip |
maketgz: do not assume everyone runs my system
-rwxr-xr-x | maketgz | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -222,8 +222,16 @@ echo "maketgz report:" echo "" ls -l $targz $compressfile $paxz +FILES=$targz $compressfile $paxz + echo "Run this:" echo "gpg2 -b -a $targz && gpg2 -b -a $compressfile && gpg2 -b -a $paxz" -sha1 $targz $compressfile $paxz -sum -a SHA512 $targz $compressfile $paxz -rmd160 $targz $compressfile $paxz +if [ -x sha1 ]; then + sha1 $FILES +fi +if [ -x sum ]; then + sum -a SHA512 $FILES +fi +if [ -x rmd160 ]; then + rmd160 $FILES +fi |