]> code.delx.au - spectrwm/commitdiff
Make distinfo base64. whomever came up with that is retarded.
authorMarco Peereboom <marco@conformal.com>
Sun, 11 Oct 2009 06:09:12 +0000 (06:09 +0000)
committerMarco Peereboom <marco@conformal.com>
Sun, 11 Oct 2009 06:09:12 +0000 (06:09 +0000)
release.sh

index b0adf1e380d058046a3ab0c9396ffe08bc6069a5..08fcf50425a4c2baab2b2646631b83a53bbc5342 100644 (file)
@@ -42,10 +42,10 @@ mkdir $PORT
 cat port/Makefile | sed "s/SCROTWMVERSION/$1/g" > $PORT/Makefile
 
 # distinfo
-md5 $TARGET.tgz > $PORT/distinfo
-rmd160 $TARGET.tgz >> $PORT/distinfo
-sha1 $TARGET.tgz >> $PORT/distinfo
-cksum -a sha256 $TARGET.tgz >> $PORT/distinfo
+cksum -b -a md5 $TARGET.tgz > $PORT/distinfo
+cksum -b -a rmd160 $TARGET.tgz >> $PORT/distinfo
+cksum -b -a sha1 $TARGET.tgz >> $PORT/distinfo
+cksum -b -a sha256 $TARGET.tgz >> $PORT/distinfo
 wc -c $TARGET.tgz 2>/dev/null | awk '{print "SIZE (" $2 ") = " $1}' >> $PORT/distinfo
 
 # pkg