[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 218/219: maketgz: do not assume everyone runs my sy
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 218/219: maketgz: do not assume everyone runs my system |
Date: |
Wed, 22 May 2019 19:19:17 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 3ca7a0b09ce7f045258a84aefd45c2c1e8c7a549
Author: ng0 <address@hidden>
AuthorDate: Wed May 22 17:14:58 2019 +0000
maketgz: do not assume everyone runs my system
---
maketgz | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/maketgz b/maketgz
index 54e508597..741308efe 100755
--- a/maketgz
+++ b/maketgz
@@ -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
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 218/219: maketgz: do not assume everyone runs my system,
gnunet <=