#!/bin/bash unset LANG FILES="openssl.zip *.exe *.dll" zip $FILES eval `gpg-agent --daemon` for FILE in $FILES; do echo "Signing $FILE:" gpg --use-agent --yes --armor --detach-sign --force-v3-sigs $FILE done kill `echo "$GPG_AGENT_INFO" | cut -d: -f 2`