[Xfce4-commits] <midori:master> makedist: Compute sha1 checksum for generated files.

Christian Dywan noreply at xfce.org
Thu Apr 4 19:36:01 CEST 2013


Updating branch refs/heads/master
         to 1ea0faf59fcc3907b2c1fb4ef785e41fd32371b1 (commit)
       from e329ca3cb96665925412a56a9a119b7199f0171d (commit)

commit 1ea0faf59fcc3907b2c1fb4ef785e41fd32371b1
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Thu Apr 4 19:10:32 2013 +0200

    makedist: Compute sha1 checksum for generated files.

 win32/makedist/makedist.midori |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index 1022db0..dea247d 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -294,3 +294,15 @@ echo "<*> Cleaning up..."
 
 # remove working directory
 rm -r $temp_dir
+
+
+echo "<*> Computing checksums..."
+
+sum_file=midori-$version.sha1
+sha1sum $ARCHIVE >> $sum_file
+
+if [ "$NSIS" != "" ]; then
+    sha1sum $nsis_file >> $sum_file
+fi
+
+cat $sum_file


More information about the Xfce4-commits mailing list