directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1081613 - /directory/studio/trunk/tools/sign.sh
Date Mon, 14 Mar 2011 23:52:33 GMT
Author: pamarcelot
Date: Mon Mar 14 23:52:32 2011
New Revision: 1081613

URL: http://svn.apache.org/viewvc?rev=1081613&view=rev
Log:
Fixed a bug in the sign.sh script which generated bad md5 files. Renamed SHA1 signature files
to 'sha1' instead of 'sha'.

Modified:
    directory/studio/trunk/tools/sign.sh

Modified: directory/studio/trunk/tools/sign.sh
URL: http://svn.apache.org/viewvc/directory/studio/trunk/tools/sign.sh?rev=1081613&r1=1081612&r2=1081613&view=diff
==============================================================================
--- directory/studio/trunk/tools/sign.sh (original)
+++ directory/studio/trunk/tools/sign.sh Mon Mar 14 23:52:32 2011
@@ -17,9 +17,9 @@ for FILE in $(find . -not '(' -name "*.m
 
     echo -n "Signing: $FILE ... "
 
-    openssl md5 < "$FILE" | cut "-d " -f1 > "$FILE.md5"
+    openssl md5 < "$FILE" | cut "-d " -f2 > "$FILE.md5"
     
-    gpg --print-md SHA1 "$FILE" > "$FILE".sha
+    gpg --print-md SHA1 "$FILE" > "$FILE".sha1
 
     echo "$PASSWORD" | gpg --default-key "$DEFAULT_KEY" --detach-sign --armor --no-tty --yes
--passphrase-fd 0 "$FILE" && echo done.
 done



Mime
View raw message