annotate ui/tests/append-sig.sh @ 768:3f290ea49d45

Add helper script for signature creation to avoid cmake escaping hell
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Jul 2014 19:10:23 +0200
parents
children 44fa5de02b52
rev   line source
768
3f290ea49d45 Add helper script for signature creation to avoid cmake escaping hell
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 #!/bin/bash
3f290ea49d45 Add helper script for signature creation to avoid cmake escaping hell
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 cp $2 $3
3f290ea49d45 Add helper script for signature creation to avoid cmake escaping hell
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 echo \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3

http://wald.intevation.org/projects/trustbridge/